""" """ print ("?",0,flush=True) P = int(input()) print ("?",1,flush=True) Q = int(input()) if P == Q: print ("!",0,P) else: print ("!",Q-P,P)