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