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