#include #include #include #include #include #include #include using namespace std; using ll = long long; int main() { int d0, d1; cout << "? 0 0" << endl; cin >> d0; cout << "? 0 100" << endl; cin >> d1; for (int x = 0; x <= 100; x++) { for (int y = 0; y <= 100; y++) { if (x * x + y * y == d0 && x * x + (y - 100) * (y - 100) == d1) { cout << "! " << x << ' ' << y << endl; exit(0); } } } return 0; }