alfa="ABCDEFGHIJKLMNOPQRSTUVWXYZ" st=input() for i in range(len(st)): i=i%26 ix=alfa.find(st[i]) print(alfa[ix-i-1],end="")