#include using namespace std; using ll = long long; #define rep(i, s, e) for (int i = (int)s; i < (int)e; ++i) #define all(a) (a).begin(), (a).end() int main() { ll a, b; cout << "? 0 0" << endl; cin >> a; cout << "? 100 0" << endl; cin >> b; rep(x, 0, 101) rep(y, 0, 101) { ll d1 = x*x + y*y; ll d2 = (100 - x)*(100 - x) + y*y; if (d1 == a && d2 == b) { cout << "! " << x << ' ' << y << endl; } } }