c=i=-1;s=''\x0d for x in raw_input(s):\x0d \x09q=int(x)\x0d \x09if q==1:\x0d \x09\x09s+=chr(ord(" -adgjmptw"[c])+i)\x0d \x09\x09i=-1\x0d \x09else:\x0d \x09\x09c,i=q,i+1\x0d print s
Note that non-ascii characters in the above source code will be escaped (such as \x9f).