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 int MX = 2010, inf = 2e9;
int n;
long long S;
struct vec {
  long long x, y;
  void scan() { cin >> x >> y; }
  vec operator-(const vec &v) const {
    vec res;
    res.x = x - v.x, res.y = y - v.y;
    return res;
  }
  vec norm() {
    long long a = x, b = y;
    if (a < 0) a = -a, b = -b;
    if (a == 0 && b < 0) b = -b;
    return {a, b};
  }
  vec perp() {
    vec res = {-y, x};
    return res;
  }
  long long operator*(const vec &v) const { return x * v.x + y * v.y; }
  bool operator==(const vec &v) const {
    if (x == 0 || v.x == 0) return x == 0 && v.x == 0;
    return x * v.y == v.x * y;
  }
} P[MX];
void found(int a, int b, int c) {
  cout << "Yes\n";
  cout << P[a].x << ' ' << P[a].y << '\n';
  cout << P[b].x << ' ' << P[b].y << '\n';
  cout << P[c].x << ' ' << P[c].y << '\n';
  exit(0);
}
long long area(int a, int b, int c) {
  vec p = P[b] - P[a], q = P[c] - P[a];
  return abs(p.x * q.y - q.x * p.y);
}
vector<pair<vec, pair<int, int> > > L;
int idx[MX], pos[MX];
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> S;
  S *= 2;
  for (int i = 1; i <= n; i++) P[i].scan();
  for (int i = 1; i <= n; i++) {
    for (int j = i + 1; j <= n; j++) {
      L.push_back({(P[i] - P[j]).perp().norm(), {i, j}});
    }
  }
  sort(L.begin(), L.end(),
       [](pair<vec, pair<int, int> > &p, pair<vec, pair<int, int> > &q) {
         vec &a = p.first, &b = q.first;
         if (a.x == 0) return false;
         return a.y * b.x < b.y * a.x;
       });
  iota(idx + 1, idx + n + 1, 1);
  sort(idx + 1, idx + n + 1,
       [](int a, int b) { return L[0].first * P[a] < L[0].first * P[b]; });
  for (int i = 1; i <= n; i++) pos[idx[i]] = i;
  int a = -1, b = -1;
  for (int i = 0; i < (int)L.size(); i++) {
    pair<vec, pair<int, int> > &li = L[i];
    vec norm = li.first;
    if (a > 0) {
      int &p = pos[a], &q = pos[b];
      if ((p < q) ^ (P[a] * norm < P[b] * norm))
        swap(p, q), swap(idx[p], idx[q]);
    }
    tie(a, b) = li.second;
    if (i + 1 < (int)L.size() && L[i].first == L[i + 1].first) continue;
    int r = min(pos[a], pos[b]) - 1, l = max(pos[a], pos[b]) + 1;
    if (1 <= r) {
      int s = 1, e = r;
      while (s <= e) {
        int m = (s + e) / 2, c = idx[m];
        long long now = area(a, b, c);
        if (S == now) found(a, b, c);
        if (now < S) e = m - 1;
        if (now > S) s = m + 1;
      }
    }
    if (l <= n) {
      int s = l, e = n;
      while (s <= e) {
        int m = (s + e) / 2, c = idx[m];
        long long now = area(a, b, c);
        if (S == now) found(a, b, c);
        if (now < S) s = m + 1;
        if (now > S) e = m - 1;
      }
    }
  }
  cout << "No\n";
  return 0;
}