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