n=scan("stdin") for(i in(-n^.5%/%.7+1):-1){j=i;s=c();repeat{m=j*(j=j-1)/2+i;m<n||break;s=c(s,m+1)};write(s,"",99)}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page