#define rep(i, n) for (int i = 0; i < (int)(n); i++) #define ALL(v) v.begin(), v.end() typedef long long ll; #include using namespace std; int main() { int cnt=0; int l=0,r=1000; string s; while(r-l>1){ int m=(l+r)/2; cout<<"?"<>s; cnt++; if(s=="safe") l=m; else r=m; } int n=r; int i=1; while(cnt<=25){ cout<<"?"<>s; cnt++; if(s=="safe"){ cout<<"!"<