print("?",100) a = int(input()) print("?",100 - a - 1) B = int(input()) + 1 A = [i for i in range(100) if (i+100) % B == a][0] print("!",A,B)