""" 隣り合った数字を聞く どっちも起こった場合、それ以上はあり得ない どちらかがokのばあい、まだおkな場合がある """ l = 0 r = 500 ans = 0 while r-l != 1: m = (l+r)//2 print ("?",2*m,flush=True) ret = input() if ret == "safe": ans = max(ans,2*m) print ("?",2*m+1,flush=True) ret2 = input() if ret2 == "safe": ans = max(ans,2*m+1) if ret == "out" and ret2 == "out": r = m else: l = m print ("?",2*l,flush=True) ret = input() if ret == "safe": ans = max(ans,2*l) print ("?",2*l+1,flush=True) ret2 = input() if ret2 == "safe": ans = max(ans,2*l+1) print ("!",ans,flush=True)