#include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); // 1) Send any A, B long long A = 1000, B = 1000; cout << A << " " << B << "\n" << flush; // 2) Read the judge's gcd reply (we don't actually need it) long long K; if(!(cin >> K)) return 0; // 3) Send any guess for X' (e.g. 0) cout << 0 << "\n" << flush; // 4) Read the judge's final verdict (ret = 1 means correct) int ret; cin >> ret; return 0; }