N = input() print(''.join(list(map((lambda x:chr(((ord(x[0]) - 65 - x[1]) % 26) % 26 + 65)), zip(N, range(1, len(N) + 1))))))