Problem: You are given n points with integer coordinates on the plane. Points are given in a way such that there is no triangle, formed by any three of these n points, which area exceeds S.

Alyona tried to construct a triangle with integer coordinates, which contains all n points and which area doesn't exceed 4S, but, by obvious reason, had no success in that. Please help Alyona construct such triangle. Please note that vertices of resulting triangle are not necessarily chosen from n given points.

Input

In the first line of the input two integers n and S (3 ≤ n ≤ 5000, 1 ≤ S ≤ 1018) are given — the number of points given and the upper bound value of any triangle's area, formed by any three of given n points.

The next n lines describes given points: ith of them consists of two integers xi and yi ( - 108 ≤ xi, yi ≤ 108) — coordinates of ith point.

It is guaranteed that there is at least one triple of points not lying on the same line.

Output

Print the coordinates of three points — vertices of a triangle which contains all n points and which area doesn't exceed 4S.

Coordinates of every triangle's vertex should be printed on a separate line, every coordinate pair should be separated by a single space. Coordinates should be an integers not exceeding 109 by absolute value.

It is guaranteed that there is at least one desired triangle. If there is more than one answer, print any of them.

Example

Input

4 1
0 0
1 0
0 1
1 1


Output

-1 0
2 0
0 2

Note

<image>

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9 + 7;
struct line {
  long long a, b, c;
  line() {
    a = c = 0;
    b = 1;
  }
  line(pair<int, int> p1, pair<int, int> p2) {
    a = p1.second - p2.second;
    b = p2.first - p1.first;
    c = -(p1.first * a + p1.second * b);
    assert(a * p2.first + b * p2.second + c == 0);
  }
  long long dist(pair<int, int> p) { return p.first * a + p.second * b + c; }
};
int n;
long long s;
vector<pair<int, int> > st;
int prev(int ind) {
  return (ind + ((int)(st).size()) - 1) % ((int)(st).size());
}
int foll(int ind) { return (ind + 1) % ((int)(st).size()); }
int sign(long long num) { return num < 0 ? -1 : num == 0 ? 0 : 1; }
double get_dist(pair<int, int> p1, pair<int, int> p2) {
  return sqrt((p1.first - p2.first) * (p1.first - p2.first) +
              (p1.second - p2.second) * (p1.second - p2.second));
}
int main() {
  scanf("%d%I64d", &n, &s);
  pair<int, int> center = {INF, INF};
  vector<pair<int, int> > inp;
  for (int i = 0; i < n; ++i) {
    int x, y;
    scanf("%d%d", &x, &y);
    inp.push_back({x, y});
    if (center > inp.back()) {
      center = inp.back();
    }
  }
  for (auto& p : inp) {
    p.first -= center.first;
    p.second -= center.second;
  }
  sort((inp).begin(), (inp).end());
  for (auto p : inp) {
    while (((int)(st).size()) > 1) {
      pair<int, int> p2 = st.back();
      st.pop_back();
      pair<int, int> p1 = st.back();
      pair<int, int> e1 = {p2.first - p1.first, p2.second - p1.second};
      pair<int, int> e2 = {p.first - p2.first, p.second - p2.second};
      long long tmp =
          (long long)e1.first * e2.second - (long long)e1.second * e2.first;
      if (tmp > 0) {
        st.push_back(p2);
        break;
      }
    }
    st.push_back(p);
  }
  inp.pop_back();
  reverse((inp).begin(), (inp).end());
  for (auto p : inp) {
    while (((int)(st).size()) > 1) {
      pair<int, int> p2 = st.back();
      st.pop_back();
      pair<int, int> p1 = st.back();
      pair<int, int> e1 = {p2.first - p1.first, p2.second - p1.second};
      pair<int, int> e2 = {p.first - p2.first, p.second - p2.second};
      long long tmp =
          (long long)e1.first * e2.second - (long long)e1.second * e2.first;
      long long tmp2 =
          (long long)e1.first * e2.first + (long long)e1.second * e2.second;
      if (tmp > 0 || (tmp == 0 && tmp2 < 0)) {
        st.push_back(p2);
        break;
      }
    }
    st.push_back(p);
  }
  st.pop_back();
  int resa = -1, resb = -1, resc = -1;
  for (int i = 0; i < ((int)(st).size()); ++i) {
    int c = (i + 1) % ((int)(st).size());
    for (int j = (i + 1) % ((int)(st).size());
         (j + 1) % ((int)(st).size()) != i; j = (j + 1) % ((int)(st).size())) {
      line l(st[i], st[j]);
      while ((c + 1) % ((int)(st).size()) != i) {
        int next = (c + 1) % ((int)(st).size());
        if (abs(l.dist(st[c])) < abs(l.dist(st[next]))) {
          c = next;
        } else {
          break;
        }
      }
      while (c != i) {
        line l2(st[j], {st[j].first + (st[i].first - st[c].first),
                        st[j].second + (st[i].second - st[c].second)});
        line l3(st[i], {st[i].first + (st[j].first - st[c].first),
                        st[i].second + (st[j].second - st[c].second)});
        if (sign(l2.dist(st[prev(j)])) * sign(l2.dist(st[foll(j)])) >= 0 &&
            sign(l3.dist(st[prev(i)])) * sign(l3.dist(st[foll(i)])) >= 0) {
          resa = i;
          resb = j;
          resc = c;
          break;
        }
        int next = (c + 1) % ((int)(st).size());
        if (next == i || abs(l.dist(st[c])) > abs(l.dist(st[next]))) {
          break;
        }
        c = next;
      }
    }
    if (resa != -1) {
      break;
    }
  }
  if (resa == -1) {
    while (true) {
      cout << "@" << endl;
    }
  }
  pair<int, int> delt = {st[resb].first - st[resc].first,
                         st[resb].second - st[resc].second};
  pair<int, int> ansa = {st[resa].first - delt.first,
                         st[resa].second - delt.second};
  pair<int, int> ansb = {st[resa].first + delt.first,
                         st[resa].second + delt.second};
  pair<int, int> ansc = {st[resb].first * 2 - ansb.first,
                         st[resb].second * 2 - ansb.second};
  double l1 = get_dist(st[resa], st[resb]);
  double l2 = get_dist(st[resa], st[resc]);
  double l3 = get_dist(st[resb], st[resc]);
  double p = (l1 + l2 + l3) / 2;
  cout << ansa.first + center.first << " " << ansa.second + center.second
       << "\n";
  cout << ansb.first + center.first << " " << ansb.second + center.second
       << "\n";
  cout << ansc.first + center.first << " " << ansc.second + center.second
       << "\n";
  return 0;
}