#include<cstdio>
#include<cstring>
#include<cmath>
#include<algorithm>
using namespace std;

int main()
{
	int a=100,b=100,c,d;
	for(int i=0;i<=a;i++)
	if(a%2==0)
	{
		c=c+a;
	}
		printf("%d ",c);
	for(int e=1;e<=b;e++)
	if(b%2==1)
	{
		d=5050-c;
	}
	printf("%d ",d);
	return 0;
}
