#include <stdio.h>

main()
{
	int i,j,k,l,m,n,o,p,q,r,s,t;
	i=scanf("%d %d %d %d %d\n",&j,&k,&l,&m,&n);
	printf("%d %d\n",i,j);
}
