o=map(ord,raw_input()) h=0 for x in o:h^=x u=h>>4;r="" for e in o+[h<<4^h]:f=e^h;r+=chr(f>>4&15|u<<4);u=f&15 print r
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page