#include <bits/stdc++.h>
using namespace std;
pair<long long, long long> arr[5005];
long long area(pair<long long, long long> a, pair<long long, long long> b,
               pair<long long, long long> c) {
  return abs(1ll * (a.first * (b.second - c.second)) +
             1ll * b.first * (c.second - a.second) +
             1ll * c.first * (a.second - b.second));
}
int main() {
  long long n, second;
  cin >> n >> second;
  for (int i = (int)1; i <= (int)n; i++) {
    cin >> arr[i].first >> arr[i].second;
  }
  pair<long long, long long> a = arr[1], b, c;
  for (int i = (int)1; i <= (int)n; i++) {
    if (arr[i] != a) {
      b = arr[i];
      break;
    }
  }
  for (int i = (int)1; i <= (int)n; i++) {
    if (area(a, b, arr[i])) {
      c = arr[i];
      break;
    }
  }
  while (true) {
    long long pres = area(a, b, c);
    bool fl = 0;
    for (int i = (int)1; i <= (int)n; i++) {
      if (area(a, b, arr[i]) > pres) {
        c = arr[i];
        fl = 1;
        break;
      }
    }
    for (int i = (int)1; i <= (int)n; i++) {
      if (area(a, arr[i], c) > pres) {
        b = arr[i];
        fl = 1;
        break;
      }
    }
    for (int i = (int)1; i <= (int)n; i++) {
      if (area(arr[i], b, c) > pres) {
        a = arr[i];
        fl = 1;
        break;
      }
    }
    if (fl == 0) break;
  }
  cout << a.first + b.first - c.first << " " << a.second + b.second - c.second
       << endl;
  cout << a.first - b.first + c.first << " " << a.second - b.second + c.second
       << endl;
  cout << -a.first + b.first + c.first << " " << -a.second + b.second + c.second
       << endl;
}
