S = input() ans = [] for i, s in enumerate(S, 1): num = ord(s) - 65 num = (num - i)%26 ans.append(chr(65 + num)) print(''.join(ans))