#include <bits/stdc++.h>
using namespace std;
const int dd = 2007;
int X[dd], Y[dd];
void solve() {
  int n;
  long long s;
  cin >> n >> s;
  s *= 2;
  for (int i = 0; i < n; i++) cin >> X[i] >> Y[i];
  for (int i = 0; i < n; i++) {
    int tx = X[i];
    int ty = Y[i];
    for (int j = 0; j < i; j++) {
      X[j] -= tx;
      Y[j] -= ty;
    }
    for (int j = 0; j < i; j++) {
      for (int k = 0; k < j; k++) {
        long long t = 1ll * X[j] * Y[k] - 1ll * X[k] * Y[j];
        if (t == s || t == -s) {
          cout << "Yes\n";
          cout << tx << ' ' << ty << '\n';
          cout << X[j] + tx << ' ' << Y[j] + ty << '\n';
          cout << X[k] + tx << ' ' << Y[k] + ty;
          return;
        }
      }
    }
    for (int j = 0; j < i; j++) {
      X[j] += tx;
      Y[j] += ty;
    }
  }
  cout << "No";
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  solve();
}
