Move To Front Encode by jbb

a=(48..58).to_a;gets.bytes{|j|$><<a.index(j);a=[j]+(a-[j])}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top