#include <bits/stdc++.h>
using namespace std;
void gg(int a, int b) { cout << "? " << a << " " << b << endl; }
int main() {
  string a;
  while (1) {
    int l = 0, r = 1;
    cin >> a;
    while (1) {
      gg(l, r);
      cin >> a;
      if (a == "end") break;
      if (a == "x") break;
      l = r;
      r = r * 2;
    }
    if (a == "end") break;
    while (l + 1 < r) {
      int mid = (l + r) / 2;
      gg(l, mid);
      cin >> a;
      if (a == "x")
        r = mid;
      else
        l = mid;
    }
    cout << "! " << r << endl;
    if (a[0] == 'm') return 0;
  }
}
