#include <bits/stdc++.h>
using namespace std;

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);

    int N; cin >> N;
    int x1,y1,x2,y2,x3,y3; cin >> x1 >> y1 >> x2 >> y2 >> x3 >> y3;

    cout << 4 << endl;
    vector<pair<int,int>> dxy = {{-1,0},{0,1},{1,0},{0,-1}};
    for(auto [dx,dy] : dxy){
        cout << x3+dx << " " << y3+dy << endl;
    }
}