l=range(1,input()+1)\x0d for x in l:print x;del l[x-1%x::x+1/x]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page