s = list(input().strip()) ai = ord('A') i = 0 ans = '' for c in s: i = i + 1 ans += chr(ai + ((ord(c) - ai - i) % 26)) print(ans)