s=map(ord,raw_input()) print bytearray(s[i^1]&96|int(bin(c)[:3:-1],2)for i,c in enumerate(s))