#include #define FOR(i,bg,ed) for(ll i=(bg);i<(ed);i++) #define REP(i,n) FOR(i,0,n) #define MOD 1000000007 //#define int long long using namespace std; typedef long long ll; const int INF = 1e9; signed main() { int d1, d2; cout << "0 0" << endl; cin >> d1; cout << "100000 0" << endl; cin >> d2; int ret; int AX = (0 + d1 + 100000 - d2) / 2; int AY = (0 - 100000 + d1 + d2) / 2; cout << AX << " " << AY << endl; cin >> ret; if (ret == 0) return 0; }