print("?",1) x=int(input()) a,b=0,0 if x: a=x-1 print("?",a) x=int(input()) b=a*2-x else: print("?",a) x=int(input()) a,b=x+1,x+2 print("!",a,b)