k=eval *$<;k.times{|i|puts"%.f %.f"%[1e3*Math.cos(i*=6.28318/k)+0.01,1e3*Math.sin(i)]}