from functools import reduce S = input() ans = reduce(lambda a, b: a + b, [chr(ord("Z") - (ord("Z") - ord(c) + i) % 26) for i, c in enumerate(S, 1)]) print(ans)