s=input() ans = '' for i in range(len(s)): t = ord(s[i]) - 65 t -= i+1 t %= 26 ans += chr(t + 65) print(ans)