import sys print("? 100") sys.stdout.flush() A100 = int(input()) X = 99 - 2 * A100 if X < 1: X = 1 print("?", X) sys.stdout.flush() AX = int(input()) for a in range(100): for b in range(a + 1, 101): if (a + 100) % b == A100 and (a + X) % b == AX: print("!", a, b) exit()