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