func_code_string: #include <bits/stdc++.h>   using namespace std;   string s;   int l, r;   inline void get() {     l = 1;     r = 2;     printf( ? %d %d n , l, r);     fflush(stdout);     cin >> s;     while (s[0] ==  y ) {       l <<= 1;       r <<= 1;       printf( ? %d %d n , l, r);       fflush(stdout);       cin >> s;     }   }   int main() {     int mid;     while (1) {       cin >> s;       if (s[0] ==  e ) {         return 0;       }       get();       while (l + 1 < r) {         mid = l + r >> 1;         printf( ? %d %d n , l, mid);         fflush(stdout);         cin >> s;         if (s[0] ==  x )           r = mid;         else           l = mid;       }       printf( ? %d %d n , 0, l);       fflush(stdout);       cin >> s;       if (s[0] ==  x )         printf( ! %d n , l), fflush(stdout);       else         printf( ! %d n , r), fflush(stdout);     }     return 0;   }   