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