#include using namespace std; using ll = long long; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b A){ ll L = A.size(); FOR(i, 0, L){ if(i) cout << ' '; cout << A[i]; } cout << endl; } int main(){ cin.tie(0); ios::sync_with_stdio(false); ll left = 0; ll right = 100000; // x方向 while(right-left>3){ ll p0 = (2 * left + 1 * right) / 3; ll p1 = (1 * left + 2 * right) / 3; p2(p0, 0); ll d0; cin >> d0; if(d0==0) return 0; p2(p1, 0); ll d1; cin >> d1; if(d1==0) return 0; // return 0; if(d0>d1){ left = p0; } else{ right = p1; } } ll center_x = (left+right)/2; // y方向 left = 0; right = 100000; while(right-left>3){ ll p0 = (2 * left + 1 * right) / 3; ll p1 = (1 * left + 2 * right) / 3; p2(center_x, p0); ll d0; cin >> d0; if(d0==0) return 0; p2(center_x, p1); ll d1; cin >> d1; if(d1==0) return 0; if(d0==d1){ left = p0; right = p1; } else if(d0