S = input() ans = '' for i, s in enumerate(S): I = ord(s) ans += chr((I-i-66) % 26 + 65) print(ans)