print("? 100", flush=True) n = int(input()) print(f"? {99-n}", flush=True) n2 = int(input()) print(f"! {n2-n} {n2+1}")