for(n=+readline(a=[2]),i=-1;b=[],v=a[++i];a=b)for(j=0;u=i?a[j]:j+1,u<=n;)++j%v&&b.push(u);print(a.join('\n'))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page