#include using namespace std; using ll = long long; int main(){ ios::sync_with_stdio(false); cin.tie(0); vector> a(3), ans; for(auto &&[y, x] : a) cin >> y >> x; auto f = [&](int y, int x, int p){ auto [y2, x2] = a[p]; return abs(y - y2) + abs(x - x2); }; for(int y = -50000; y <= 50000; y++){ for(int x = -50000; x <= 50000; x++){ if(f(y, x, 0) == f(y, x, 1) && f(y, x, 1) == f(y, x, 2)){ ans.emplace_back(y, x); if(abs(y) > 40000 || abs(x) > 40000){ cout << "-1\n"; return 0; } } } } cout << ans.size() << '\n'; for(auto [y, x] : ans) cout << y << " " << x << "\n"; }