trivial encoder by zetamatta

import re;R=raw_input;print re.sub("4$","4A",R().encode("hex").upper())if"e"==R()[0]else R().decode("hex")

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

download

return top