S=list(input()) N=len(S) ans=[] for i in range(N): d=(i+1)%26 if ord(S[i])-d<65: ans.append(chr(ord(S[i])+26-d)) else: ans.append(chr(ord(S[i])-d)) print(''.join(ans))