st = input() print("".join([chr((ord(st[i])-ord("A")-(i+1)) % 26 + ord("A")) for i in range(len(st))]))