print("?",100) y = int(input()) print("?",100 - y - 1) yy = int(input()) B = yy + 1 for a in range(B): if (a + 100) % B == y: break print("!",a,B)