import sys def out(x): print("?",x) sys.stdout.flush() return int(input()) x1 = 100 y1 = out(x1) if y1 == 99: print("!",y1,x1) else: x2 = 100-y1-1 y2 = out(x2) b = y2+1 for i in range(b): if (x2+i)%b == y2: print("!",i,b) exit()