print("? 0", flush=True) b = int(input()) print("? 1", flush=True) a = int(input()) - b print(f"! {a} {b}", flush= True)