#include <bits/stdc++.h>
using namespace std;
int main() {
  string str;
  int pw, l, r;
  while (1) {
    cin >> str;
    if (str == "end") return 0;
    if (str[0] == 's') {
      cout << "? " << 0 << " " << 1 << "\n";
      cin >> str;
      if (str == "x")
        l = 0, r = 1;
      else {
        for (pw = 0; pw < 31; pw++) {
          cout << "? " << (1 << pw) << " " << (1 << (pw + 1)) << "\n";
          fflush(stdout);
          cin >> str;
          if (str == "x") break;
        }
        l = (1 << pw), r = (1 << (pw + 1));
      }
      while (r - l > 1) {
        int mid = (l + r + 1) / 2;
        cout << "? " << mid << " " << l << "\n";
        fflush(stdout);
        cin >> str;
        if (str == "y")
          r = mid;
        else
          l = mid;
      }
      cout << "! " << r << "\n";
      fflush(stdout);
    }
  }
}
