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 mod = 1e9 + 7;
struct pnt {
  int x, y, idx;
  bool operator<(const pnt &p) const {
    return pair<long long, long long>(x, y) <
           pair<long long, long long>(p.x, p.y);
  }
} a[2005];
struct line {
  int dx, dy, i1, i2;
};
vector<line> v;
int n, rev[2005];
long long p, q;
long long ccw(pnt a, pnt b, pnt c) {
  int dx1 = b.x - a.x;
  int dy1 = b.y - a.y;
  int dx2 = c.x - a.x;
  int dy2 = c.y - a.y;
  return abs(1ll * dx1 * dy2 - 1ll * dy1 * dx2);
}
void report(int x, int y, int z) {
  puts("Yes");
  for (auto &i : {x, y, z}) {
    printf("%d %d\n", a[i].x, a[i].y);
  }
  exit(0);
}
void solve(int c1, int c2, long long l) {
  int s = c2, e = n - 1;
  while (s != e) {
    int m = (s + e + 1) / 2;
    if (ccw(a[c1], a[c2], a[m]) <= l)
      s = m;
    else
      e = m - 1;
  }
  if (ccw(a[c1], a[c2], a[s]) == l) {
    report(c1, c2, s);
  }
  s = 0, e = c1;
  while (s != e) {
    int m = (s + e) / 2;
    if (ccw(a[c1], a[c2], a[m]) <= l)
      e = m;
    else
      s = m + 1;
  }
  if (ccw(a[c1], a[c2], a[s]) == l) {
    report(c1, c2, s);
  }
}
int main() {
  cin >> n >> p;
  p <<= 1;
  for (int i = 0; i < n; i++) {
    cin >> a[i].x >> a[i].y;
  }
  sort(a, a + n);
  for (int i = 0; i < n; i++) {
    a[i].idx = i;
    rev[i] = i;
  }
  for (int i = 0; i < n; i++) {
    for (int j = i + 1; j < n; j++) {
      v.push_back({a[j].x - a[i].x, a[j].y - a[i].y, a[i].idx, a[j].idx});
    }
  }
  sort(v.begin(), v.end(), [&](const line &a, const line &b) {
    long long cw = 1ll * a.dx * b.dy - 1ll * b.dx * a.dy;
    if (cw != 0) return cw > 0;
    return pair<long long, long long>(a.i1, a.i2) <
           pair<long long, long long>(b.i1, b.i2);
  });
  long long ret = 0;
  for (int i = 0; i < v.size(); i++) {
    int c1 = rev[v[i].i1], c2 = rev[v[i].i2];
    if (c1 > c2) swap(c1, c2);
    solve(c1, c2, p);
    swap(a[c1], a[c2]);
    swap(rev[v[i].i1], rev[v[i].i2]);
  }
  cout << "No" << endl;
}