s="0123456789"while""do c=io.read(1)io.write(s:find(c)-1)s=c..s:gsub(c,"")end
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page