#include #include using namespace std; int main() { int q1, q2; cout << "? " << 1 << endl; cin >> q1; int diff = q1 + 1; cout << "? " << diff + 1 << endl; cin >> q2; int b = q2 + 1; int a = b - diff; cout << "! " << a << " " << b << endl; }