src="abcdefghijklmnopqrstuvwxyz" dst="cqlmdrstfxyzbanopuvweghijk" f={src[i]:dst[i] for i in range(26)} while 1: try: s=input() except: raise SystemExit for c in s: print(f[c],sep="",end="") print()