#include"bits/stdc++.h" //#include using namespace std; #define print(x) cout<> m; int n = m; int mi = 99; REP(i, 4) { print(dx[i] * n / 2 << " " << dy[i] * n / 2); cin >> dist[i]; if (m > dist[i]) { m = dist[i]; mi = i; nowx = dx[i] * n / 2;nowy= dy[i] * n / 2; } } REP(i, 4) { print(dx[i] * nowx / 2 << " " << dy[i] * nowy / 2); int d = 0; cin >> d; if (d == 0)return 0; } return 1; }