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