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