n = 0 abc = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" new = "" for x in input(): n += 1 new += abc[abc.index(x) - n + (n // 26 * 26)] print(new)