#include "bits/stdc++.h" #define int long long using namespace std; using ll = long long; using P = pair; const ll INF = (1LL << 61); ll mod = 1000000007; signed main() { ios::sync_with_stdio(false); cin.tie(0); cout << '?' << " " << 0 << " " << 0 << endl; fflush(stdout); int d; cin >> d; cout << '?' << " " << 52 << " " << 36 << endl; fflush(stdout); int d2; cin >> d2; for (int a = 0; a <= 100; a++) { for (int b = 0; b <= 100; b++) { if (a * a + b * b == d) { if ((52 - a)*(52 - a) + (36 - b)*(36 - b) == d2) { cout << '!' << " " << a << " " << b << endl; return 0; } } } } return 0; }