S = input() T = '' for i, s in enumerate(S): x = (ord(S[i]) - i - 66) % 26 + 65 T += chr(x) print(T)