s="" try: while 1: for c in raw_input().split(): d=chr(int(c,16)) if"\n"==d:s+="\\n\n" elif" "<=d<="~":s+=d else:s+="\\x"+c.lower() except:print s