#include using namespace std; int main() { int t1, t2; cout << 0 << " " << 0 << endl; cin >> t1; if(t1 == 0) return (0); int sz = 1000000000; cout << sz << " " << 0 << endl; cin >> t2; if(t2 == 0) return (0); int y = (t1 + t2 - sz) / 2; cout << t1 - y << " " << y << endl; }