with(Math)for(i=n=readline();i;print(v(cos(p=i--*PI*-2/n)*1e3),v(sin(p)*1e3)))v=round