code = input() alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" decoded = "" for n, c in enumerate(code): decoded += alphabet[alphabet.index(c) - (n % 26 + 1)] print(decoded)