a = '' for i, s in enumerate(input()): a += chr((ord(s)-i-66) % 26 + 65) print(a)