n,r,m=int(input()),range,{10:30,20:72,30:114} [print(i) for i in r(2,m[n]) if 0 not in [i%j for j in r(2,i)]]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page