#include <bits/stdc++.h>
using namespace std;
char helper(int x, int y, int ans, int& cnt) {
  cout << "query: " << x << " - " << y;
  char ret = (x % ans >= y % ans) ? 'x' : 'y';
  cout << ", ans = " << ret << ", range = " << y - x << endl;
  cnt += 1;
  return ret;
}
int main() {
  string stat;
  int x, y;
  char feedback;
  int expect = 0;
  while (true) {
    cin >> stat;
    expect += 1;
    int cnt = 0;
    if (stat == "start") {
      bool prev = true;
      int l = 0;
      int r = 1;
      while (true) {
        cout << "? " << l << " " << r << endl;
        fflush(stdout);
        cin >> feedback;
        if (feedback == 'x') {
          prev = false;
          if (r - l == 1) {
            cout << "! " << r << endl;
            fflush(stdout);
            break;
          }
          int mid = l + (r - l) / 2;
          l = mid;
        } else if (feedback == 'y') {
          if (prev == true) {
            l = r;
            r = l * 2;
          } else {
            if (r - l == 1) {
              cout << "! " << l << endl;
              fflush(stdout);
              break;
            }
            int itvl = (r - l);
            r -= itvl;
            l -= itvl;
            int mid = (r - l) / 2;
            l += mid;
          }
        } else {
          return 0;
        }
      }
    } else if (stat == "end") {
      break;
    } else if (stat == "mistake") {
      return 0;
    }
  }
  return 0;
}
