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

int sx[4] = { -1, 0, 1, 0 };
int sy[4] = { 0, -1, 0, 1 };

int main(void) {
	int n;
	cin >> n;

	vector<int> a(2), b(2), c(2);
	for (int i = 0; i < 2; i++) {
		cin >> a[i];
	}
	for (int i = 0; i < 2; i++) {
		cin >> b[i];
	}
	for (int i = 0; i < 2; i++) {
		cin >> c[i];
	}

	cout << 4 << endl;
	for (int i = 0; i < 4; i++) {
		cout << c[0] + sx[i] << " " << c[1] + sy[i] << endl;
	}

	return 0;
}