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