#include using namespace std; random_device rnd; mt19937 mt(rnd()); int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int N; cin >> N; N *= 2; vector> XY(N); for(auto &[x,y] : XY) cin >> x >> y; N /= 2; while(true){ long long a = mt()%200001,b = mt()%200001; a -= 100000,b -= 100000; if(a == 0 && b == 0) continue; vector C; for(auto [x,y] : XY) C.emplace_back(a*x+b*y); sort(C.begin(),C.end()); long long c0 = C.at(N-1),c1 = C.at(N); if(c0 == c1 || c0+1 == c1) continue; cout << a << " " << b << " " << c0+1 << endl; break; } }