#include using ll=long long; using std::cin; using std::cout; using std::endl; const ll max=1e3; int main(){ ll left=0,right=max-1; while(left+1>S; cout<<"? "<>T; if(T=="safe") left=mid+1; else{ if(S=="safe") left=mid; else right=mid-1; } } cout<<"! "<