print('?',0,flush=True) B=int(input()) print('?',1,flush=True) AB=int(input()) print("!",AB-B,B,flush=True)