d=int(input()) print("? 0",flush=True) r1=int(input()) print("? 1",flush=True) r2=int(input()) print("!",end=" ",flush=True) print(r2-r1)