Problem: There is a strange peculiarity: if you connect the cities of Rostov, Taganrog and Shakhty, peculiarly, you get a triangle

«Unbelievable But True»

Students from many different parts of Russia and abroad come to Summer Informatics School. You marked the hometowns of the SIS participants on a map.

Now you decided to prepare an interesting infographic based on this map. The first thing you chose to do is to find three cities on this map, such that they form a triangle with area S.

Input

The first line of input contains two integers n and S (3 ≤ n ≤ 2000, 1 ≤ S ≤ 2 ⋅ 10^{18}) — the number of cities on the map and the area of the triangle to be found.

The next n lines contain descriptions of the cities, one per line. Each city is described by its integer coordinates x_i, y_i (-10^9 ≤ x_i, y_i ≤ 10^9). 

It is guaranteed that all cities are located at distinct points. It is also guaranteed that no three cities lie on the same line.

Output

If the solution doesn't exist — print «No».

Otherwise, print «Yes», followed by three pairs of coordinates (x, y) — the locations of the three cities, which form the triangle of area S.

Examples

Input

3 7
0 0
3 0
0 4


Output

No


Input

4 3
0 0
2 0
1 2
1 3


Output

Yes
0 0
1 3
2 0

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const long long EPS = 0ll;
namespace std {
bool operator<(complex<long long> P1, complex<long long> P2) {
  return abs(P1.real() - P2.real()) > EPS ? P1.real() < P2.real()
                                          : P1.imag() < P2.imag();
}
bool operator>(complex<long long> P1, complex<long long> P2) {
  return abs(P1.real() - P2.real()) > EPS ? P1.real() > P2.real()
                                          : P1.imag() > P2.imag();
}
}  // namespace std
long long ep(complex<long long> P1, complex<long long> P2) {
  return imag((conj(P1) * P2));
}
struct ang {
  long long x, y;
};
bool operator<(ang p, ang q) { return p.y * q.x < q.y * p.x; }
vector<complex<long long> > P;
int main() {
  int n;
  long long S;
  scanf("%d%lld", &n, &S);
  P = vector<complex<long long> >(n);
  for (int i = 0; i < n; i++) {
    long long x, y;
    scanf("%lld%lld", &x, &y);
    P[i] = complex<long long>(x, y);
  }
  sort(P.begin(), P.end());
  vector<int> order(n), rorder(n);
  for (int i = 0; i < n; i++) {
    order[i] = i;
    rorder[i] = i;
  }
  vector<pair<ang, pair<int, int> > > V;
  for (int i = 0; i < n; i++) {
    for (int j = i + 1; j < n; j++) {
      ang v;
      v.x = P[j].real() - P[i].real();
      v.y = P[j].imag() - P[i].imag();
      V.push_back(make_pair(v, make_pair(i, j)));
    }
  }
  sort(V.begin(), V.end());
  bool F = 0;
  int ai, aj, ak;
  for (int t = V.size() - 1; t >= 0; t--) {
    int i = V[t].second.first, j = V[t].second.second, k;
    int L = 0, R = n;
    while (L < R) {
      int k = order[(L + R) / 2];
      long long s = ep(P[j] - P[i], P[k] - P[i]);
      if (s == 2 * S) {
        ai = i, aj = j, ak = k;
        F = 1;
        break;
      } else if (s > 2 * S) {
        L = (L + R) / 2 + 1;
      } else {
        R = (L + R) / 2;
      }
    }
    if (F) break;
    L = 0, R = n;
    while (L < R) {
      int k = order[(L + R) / 2];
      long long s = ep(P[j] - P[i], P[k] - P[i]);
      if (s == -2 * S) {
        ai = i, aj = j, ak = k;
        F = 1;
        break;
      } else if (s > -2 * S) {
        L = (L + R) / 2 + 1;
      } else {
        R = (L + R) / 2;
      }
    }
    if (F) break;
    swap(rorder[i], rorder[j]);
    order[rorder[i]] = i;
    order[rorder[j]] = j;
  }
  if (F) {
    puts("Yes");
    printf("%lld %lld\n%lld %lld\n%lld %lld\n", P[ai].real(), P[ai].imag(),
           P[aj].real(), P[aj].imag(), P[ak].real(), P[ak].imag());
  } else {
    puts("No");
  }
  return 0;
}