import sys for w in sys.stdin.read().split():c=int(w,16);print(end=[['\\x'+w.lower(),'\\n\n'],chr(c)][31