S = input() dic = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" ans = "" for i in range(len(S)): ans += dic[(dic.index(S[i]) - 1 - i + 26 * 1024) % 26] print(ans)