#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;

int main()
{
  const int dx[] = {0, 1, 0, -1}, dy[] = {1, 0, -1, 0};
  int n;
  cin >> n;
  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)
  {
    int x = c[0] + dx[i], y = c[1] + dy[i];
    cout << x << ' ' << y << endl;
  }
}