s = list(input()) count = 1 ans = '' for i in s: if ord(i)-count < 65: temp = ord(i)-count while temp < 65: temp += 26 ans += chr(temp) else: ans += chr(ord(i)-count) count += 1 print(ans)