print('?', 100, flush=True) q1 = int(input()) if q1 == 99: print('!', 99, 100, flush=True) exit() print('?', 100 - q1 - 1, flush=True) q2 = int(input()) B = q2 + 1 for A in range(B): if (A + 100) % B == q1: print('!', A, B, flush=True) exit()