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