S=input().strip()
N=len(S)
s=""
for i in range(N):
    s+=chr((ord(S[i])-65-i-1)%26+65)
print(s)