#include <bits/stdc++.h>
using namespace std;
bool query(int x, int y) {
  printf("? %d %d\n", x, y);
  fflush(stdout);
  static char ans[10];
  scanf("%s", ans);
  if (ans[0] == 'e') exit(0);
  return ans[0] == 'y';
}
void solve() {
  if (!query(0, 1)) {
    puts("! 1");
    fflush(stdout);
    return;
  }
  int i = 0;
  for (; i < 30 && query(1 << i, 1 << (i + 1)); ++i) {
  }
  int st = 1 << i, l = st + 1, r = st << 1;
  int mid, ans = -1;
  while (l <= r) {
    mid = (l + r) >> 1;
    if (query(1 << i, mid)) {
      l = mid + 1;
    } else {
      ans = mid;
      r = mid - 1;
    }
  }
  printf("! %d\n", ans);
  fflush(stdout);
}
int main() {
  while (true) {
    static char s[16];
    scanf("%s", s);
    if (s[0] == 'e') break;
    solve();
  }
  return 0;
}
