s = input().strip() a = ord('A') r = ord('Z') - a + 1 ans = ''.join([chr((ord(c) - i + a - 1) % r + a) for i, c in enumerate(s)]) print(ans)