#yuki1187 l,r=0,2000 while r-l>1: m=(l+r)//2 print("?",m) res=input() print("?",m+1) res2=input() if res==res2=="out": r=m else: l=m print("!",l)