print("?", -10**3) a = int(input()) print("?", 10**3) b = int(input()) print("!", (a - b) // 2)