for i, c in enumerate(input()): o: int = ord(c) - i % 26 - 1 if o < ord('A'): o += 26 print(chr(o),end="")