#include using namespace std; #ifdef LOCAL #include "settings/debug.cpp" #else #define Debug(...) void(0) #endif #define rep(i, n) for (int i = 0; i < (n); ++i) using ll = long long; using ull = unsigned long long; int main() { cout << "? 0 0" << endl; cout << "? 0 100" << endl; int a, b; cin >> a >> b; vector> cand; for (int x = 0; x <= 100; ++x) { for (int y = 0; y <= 100; ++y) { int dist_a = x * x + y * y; int dist_b = x * x + (y - 100) * (y - 100); if (dist_a == a && dist_b == b) cand.push_back({ x, y }); } } assert(cand.size() == 1); cout << "! " << cand[0].first << ' ' << cand[0].second << endl; return 0; }