#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<char,int> P; typedef pair<int,char> Q; #define REP(i,n) for(int i=0;i<int(n);i++) int main(){ cin.tie(nullptr); ios_base::sync_with_stdio(false); int i,j,k; int N; cin >> N; vector<int> x(3),y(3); REP(i,3) cin >> x[i] >> y[i]; cout << 4 << endl; cout << x[2]-1 << ' ' << y[2] << endl; cout << x[2]+1 << ' ' << y[2] << endl; cout << x[2] << ' ' << y[2]-1 << endl; cout << x[2] << ' ' << y[2]+1 << endl; return 0; }