s = list(input())
for i in range(len(s)):
    s[i] = chr((ord(s[i]) - 66 - i) % 26 + 65)
print("".join(s))