s = input() for i in range(len(s)): print(chr((ord(s[i]) - ord('A') - i - 1 + 26 * 10000) % 26 + ord('A')), end="") print("")