n:stdin.get_s(3).to_i;n.times{a:it*2*math::PI/n;%f"%d %d"(math::floor(math::cos(a)*1000+0.5),math::floor(math::sin(a)*1000+0.5)).p;}