#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; if(d0==d1){ left = d0; right = d1; } else if(d03){ 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 = d0; right = d1; } else if(d0