#include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; const ll INF=1LL<<60; typedef pair P; typedef pair PP; const ll MOD=1e9+7; int main(){ vector x(2),y(2); x[0]=2; x[1]=3; for(int t=0;t<2;t++){ cout<<"? "<>y[t]; } for(int a=0;a<100;a++){ for(int b=a+1;b<=100;b++){ vector c(2); int cnt=0; for(int t=0;t<2;t++){ c[t]=y[t]-x[t]; c[t]%=b; if(c[t]<0){ c[t]+=b; c[t]%=b; } c[t]%=b; if(a%b==c[t]){ cnt++; } } if(cnt==2){ cout<<"! "<