n=input() a=0j exec'z=2.7183**a*1e3;print"%.f %.f"%(z.real+.01,z.imag);a+=6.28314j/n;'*n