moji=list("ABCDEFGHIJKLMNOPQRSTUVWXYZ") data=input() for i in range(len(string)): n = moji.index(string[i])-i-1 while n < 0: n += 26 print(moji[n],end="")