#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  vector<pair<long long, long long>> vect;
  for (long long i = 0; i < 3; i++) {
    long long a, b;
    cin >> a >> b;
    vect.push_back({a, b});
  }
  vector<pair<long long, long long>> res;
  sort(vect.begin(), vect.end());
  while (vect[0].first < vect[1].first) {
    res.push_back(vect[0]);
    vect[0].first++;
  }
  while (vect[2].first > vect[1].first) {
    res.push_back(vect[2]);
    vect[2].first--;
  }
  sort(vect.begin(), vect.end());
  while (vect[0].second < vect[1].second) {
    res.push_back(vect[0]);
    vect[0].second++;
  }
  while (vect[2].second > vect[1].second) {
    res.push_back(vect[2]);
    vect[2].second--;
  }
  res.push_back(vect[1]);
  cout << res.size() << '\n';
  for (auto x : res) {
    cout << x.first << " " << x.second << '\n';
  }
  return 0;
}
