Move To Front Decode by teebee

a=range(10)
o=""
for i in raw_input():a=[a.pop(int(i))]+a;o+=`a[0]`
print o

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

download

return top