for([m,p]=readline(s=i=' ').split(s);i-2*p;)print(Array(m*Math.sin(i/p*6.283)-~m-!i++|0).join(s),'*')
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page