import sys print("? 1") sys.stdout.flush() A = int(input()) if A >= 1: A -= 1 print("? 100") sys.stdout.flush() A2 = int(input()) for B in range(A + 1, 101): if (A + 100) % B == A2: break print("!", A, B) sys.stdout.flush() else: print("? 100") sys.stdout.flush() A2 = int(input()) for B in range(1, 101): if 99 % B == A2: break print("!", B - 1, B) sys.stdout.flush()