import sys print("? 99") sys.stdout.flush() A99 = int(input()) print("? 100") sys.stdout.flush() A100 = int(input()) for A in range(100): for B in range(A + 1, 100): if (A + 99) % B == A99 and (A + 100) % B == A100: print("!", A, B) sys.stdout.flush() exit()