#include <bits/stdc++.h>
#define ios ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
#define ll long long
#define mod 1000000007
using namespace std;
string s;
void solve(int x,int y,int r){
if (x>y)swap(x,y);
printf("? %d %d",x,y);
fflush(stdout);
cin>>s;
if (s!="x" and s!="y"){
exit(0);
}
if (s=="x" and y-x==1){
printf("! %d",y);
fflush(stdout);
return;
}
if (s=="x"){
r=1;
solve(x,x+1,r);
}
else{
r*=2;
solve(y,y+r,r);
}
}
int main(){
string s;
while(true){
cin>>s;
if (s!="start")return 0;
printf("? 1 10");
fflush(stdout);
cin>>s;
if (s!="x" and s!="y")return 0;
if (s=="x"){
printf("! 1");
fflush(stdout);
continue;
}
solve(1,2,1);
}
return 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CgojZGVmaW5lIGlvcyBpb3M6OnN5bmNfd2l0aF9zdGRpbyhmYWxzZSk7Y2luLnRpZSgwKTtjb3V0LnRpZSgwKTsKI2RlZmluZSBsbCBsb25nIGxvbmcKI2RlZmluZSBtb2QgMTAwMDAwMDAwNwp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKc3RyaW5nIHM7Cgp2b2lkIHNvbHZlKGludCB4LGludCB5LGludCByKXsKICAgIGlmICh4Pnkpc3dhcCh4LHkpOwoKICAgIHByaW50ZigiPyAlZCAlZCIseCx5KTsKICAgIGZmbHVzaChzdGRvdXQpOwogICAgY2luPj5zOwogICAgaWYgKHMhPSJ4IiBhbmQgcyE9InkiKXsKICAgICAgICBleGl0KDApOwogICAgfQoKICAgIGlmIChzPT0ieCIgYW5kIHkteD09MSl7CiAgICAgICAgcHJpbnRmKCIhICVkIix5KTsKICAgICAgICBmZmx1c2goc3Rkb3V0KTsKICAgICAgICByZXR1cm47CiAgICB9CgogICAgaWYgKHM9PSJ4Iil7CiAgICAgICAgcj0xOwogICAgICAgIHNvbHZlKHgseCsxLHIpOwogICAgfQogICAgZWxzZXsKICAgICAgICByKj0yOwogICAgICAgIHNvbHZlKHkseStyLHIpOwogICAgfQp9CgppbnQgbWFpbigpewoKICAgIHN0cmluZyBzOwogICAgd2hpbGUodHJ1ZSl7CiAgICAgICAgY2luPj5zOwogICAgICAgIGlmIChzIT0ic3RhcnQiKXJldHVybiAwOwoKICAgICAgICBwcmludGYoIj8gMSAxMCIpOwogICAgICAgIGZmbHVzaChzdGRvdXQpOwogICAgICAgIGNpbj4+czsKICAgICAgICBpZiAocyE9IngiIGFuZCBzIT0ieSIpcmV0dXJuIDA7CiAgICAgICAgaWYgKHM9PSJ4Iil7CiAgICAgICAgICAgIHByaW50ZigiISAxIik7CiAgICAgICAgICAgIGZmbHVzaChzdGRvdXQpOwogICAgICAgICAgICBjb250aW51ZTsKICAgICAgICB9CgogICAgICAgIHNvbHZlKDEsMiwxKTsKICAgIH0KICAgIHJldHVybiAwOwp9