#include using namespace std; #define ALL(x) x.begin(),x.end() #define rep(i,n) for(int i=0;i<(n);i++) #define debug(v) cout<<#v<<":";for(auto x:v){cout<bool chmax(T &a,const T &b){if(abool chmin(T &a,const T &b){if(b ostream &operator<<(ostream &os,const pair&p){ os< ostream &operator<<(ostream &os,const vector&v){ for(int i=0;i<(int)v.size();i++) os< istream &operator>>(istream &is,pair&p){ is>>p.first>>p.second; return is; } template istream &operator>>(istream &is,vector&v){ for(T &x:v)is>>x; return is; } signed main(){ int lw=1,hi=1000; int res=0; while(lw<=hi){ int mid=(lw+hi)/2; string s,t; cout<<"? "<>s; cout<<"? "<>t; bool f=false; if(s[0]=='s') chmax(res,mid),f=true; if(t[0]=='s') chmax(res,mid+1),f=true; if(f) lw=mid+1; else hi=mid-1; } cout<<"! "<