Problem: Long time ago Alex created an interesting problem about parallelogram. The input data for this problem contained four integer points on the Cartesian plane, that defined the set of vertices of some non-degenerate (positive area) parallelogram. Points not necessary were given in the order of clockwise or counterclockwise traversal.

Alex had very nice test for this problem, but is somehow happened that the last line of the input was lost and now he has only three out of four points of the original parallelogram. He remembers that test was so good that he asks you to restore it given only these three points.

Input

The input consists of three lines, each containing a pair of integer coordinates xi and yi ( - 1000 ≤ xi, yi ≤ 1000). It's guaranteed that these three points do not lie on the same line and no two of them coincide.

Output

First print integer k — the number of ways to add one new integer point such that the obtained set defines some parallelogram of positive area. There is no requirement for the points to be arranged in any special order (like traversal), they just define the set of vertices.

Then print k lines, each containing a pair of integer — possible coordinates of the fourth point.

Example

Input

0 0
1 0
0 1


Output

3
1 -1
-1 1
1 1

Note

If you need clarification of what parallelogram is, please check Wikipedia page:

https://en.wikipedia.org/wiki/Parallelogram

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
long long int MOD = 1000000007;
long long int inf = 1e15;
long long int powermod(long long int _a, long long int _b, long long int _m) {
  long long int _r = 1;
  while (_b) {
    if (_b % 2 == 1) _r = (_r * _a) % _m;
    _b /= 2;
    _a = (_a * _a) % _m;
  }
  return _r;
}
long long int string_to_number(string s) {
  long long int x = 0;
  stringstream convert(s);
  convert >> x;
  return x;
}
long long int add(long long int a, long long int b) {
  long long int x = (a + b) % MOD;
  return x;
}
long long int mul(long long int a, long long int b) {
  long long int x = (a * b) % MOD;
  return x;
}
long long int sub(long long int a, long long int b) {
  long long int x = (a - b + MOD) % MOD;
  return x;
}
long long int divi(long long int a, long long int b) {
  long long int x = a;
  long long int y = powermod(b, MOD - 2, MOD);
  long long int res = (x * y) % MOD;
  return res;
}
pair<float, float> solve(pair<float, float> a, pair<float, float> b,
                         pair<float, float> c) {
  pair<float, float> ans;
  if (a.first == b.first) {
    ans.first = c.first;
    ans.second = c.second + (a.second - b.second);
    return ans;
  }
  if (a.second == b.second) {
    ans.second = c.second;
    ans.first = c.first + (a.first - b.first);
    return ans;
  }
  if (a.first == c.first) {
    ans.first = b.first;
    ans.second = b.second + (a.second - c.second);
    return ans;
  }
  if (a.second == c.second) {
    ans.second = b.second;
    ans.first = b.first + (a.first - c.first);
    return ans;
  }
  float m1 = (a.second - b.second) / (float)(a.first - b.first);
  float m2 = (a.second - c.second) / (float)(a.first - c.first);
  ans.first =
      ((b.second - c.second) - (m2 * b.first - m1 * c.first)) / (m1 - m2);
  ans.second = m1 * ans.first - m1 * c.first + c.second;
  return ans;
}
int main() {
  pair<float, float> a, b, c;
  scanf("%f%f%f%f%f%f", &a.first, &a.second, &b.first, &b.second, &c.first,
        &c.second);
  map<pair<float, float>, int> m;
  m[solve(a, b, c)] = 1;
  m[solve(b, a, c)] = 1;
  m[solve(a, c, b)] = 1;
  m[solve(c, a, b)] = 1;
  m[solve(b, c, a)] = 1;
  m[solve(c, b, a)] = 1;
  cout << m.size() << "\n";
  for (auto it : m) {
    float xa = (it.first).first;
    float ya = (it.first).second;
    if (ya == -0) ya = 0;
    if (xa == -0) xa = 0;
    cout << xa << " " << ya << "\n";
  }
  return 0;
}