s=raw_input()\x0d l=''\x0d f=''\x0d for c in s:\x0d if c.isdigit():c=l[len(l)-1-int(c)]\x0d if c.isalpha():\x0d l+=c\x0d f+=c\x0d else:f+=c\x0d print f
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page