for each(i in readline(a="0123456789"))putstr(a.indexOf(i),a=i+a.replace(i,""))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page