n = int(input()) print("?", 0) a = int(input()) print("?", 1) b = int(input()) print("!", b-a)