Nth prime by recursive

P=range(9**6)
for d in P[2:729]:P[d+d::d]=[0]*(531440/d-1)
P=filter(None,P)
while 1:print P[input()]

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top