#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  while (cin >> s) {
    if (s == "end") break;
    int now = 1;
    auto ask = [](int x, int y) {
      cout << "? " << x << ' ' << y << endl;
      string s;
      cin >> s;
      return s[0] == 'y';
    };
    while (ask(now, now * 2)) now <<= 1;
    if (now == 1) {
      if (ask(2, 1))
        cout << "! 2" << endl;
      else
        cout << "! 1" << endl;
      continue;
    }
    int l = now + 1, r = now * 2 - 1;
    while (l <= r) {
      int mid = (l + r) / 2;
      if (ask(now, mid))
        l = mid + 1;
      else
        r = mid - 1;
    }
    cout << "! " << l << endl;
  }
}
