S = input() ANS = '' for i in range(len(S)): p = (i+1)%26 s = ord(S[i]) - p if s < 65 : s += 26 ANS += chr(s) print(ANS)