typedef long long ll; typedef long double ld; #include using namespace std; #define int long long signed main(){ std::cout << "? 100" << std::endl; ll x1; std::cin >> x1; if(x1==99){ std::cout << "! 99 100" << std::endl; return 0; } std::cout << "? "<<100-x1-1<< std::endl; ll x2; std::cin >> x2; ll b = x2+1; for (int i = 0; i < b; i++) { if((i+100)%b==x1&&(i+100-x1-1)%b==x2){ std::cout << "! "<