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 maxn = 2e3 + 14;
double PI = acos((double)-1);
struct pt {
  long long x, y;
};
struct Event {
  int i, j;
  double angle;
} event[maxn * maxn];
int n, sz, order[maxn], where[maxn];
pt a[maxn];
long long s;
double angle(int x, int y) {
  double ret = atan2(y, x);
  return ret < 0 ? ret + 2 * PI : ret;
}
double when(int i, int j) {
  int x = a[i].x - a[j].x, y = a[i].y - a[j].y;
  return angle(-y, x);
}
int main() {
  ios::sync_with_stdio(0), cin.tie(0);
  cin >> n >> s;
  s *= 2;
  for (int i = 0; i < n; i++) cin >> a[i].x >> a[i].y;
  sort(a, a + n, [](pt a, pt b) { return a.x != b.x ? a.x < b.x : a.y > b.y; });
  for (int i = 0; i < n; i++)
    for (int j = 0; j < n; j++)
      if (i != j) event[sz++] = {i, j, when(i, j)};
  sort(event, event + sz, [](Event &f, Event &s) { return f.angle < s.angle; });
  iota(order, order + n, 0);
  iota(where, where + n, 0);
  for_each(event, event + sz, [](Event &p) {
    auto [i, j, tmp] = p;
    swap(order[where[i]], order[where[j]]);
    swap(where[i], where[j]);
    long long la = a[j].y - a[i].y;
    long long lb = a[j].x - a[i].x;
    long long lc = a[j].x * a[i].y - a[j].y * a[i].x;
    auto findDis = [&](int k) {
      return abs(la * a[order[k]].x - lb * a[order[k]].y + lc);
    };
    auto lowerBound = [&](int lo, long long x) {
      int hi = n;
      while (hi - lo > 1) {
        int mid = (lo + hi) / 2;
        (findDis(mid) <= x ? lo : hi) = mid;
      }
      return lo;
    };
    if (findDis(lowerBound(where[i], s)) == s) {
      cout << "Yes\n";
      int k = order[lowerBound(where[i], s)];
      cout << fixed << setprecision(0) << a[i].x << ' ' << a[i].y << '\n'
           << a[j].x << ' ' << a[j].y << '\n'
           << a[k].x << ' ' << a[k].y << '\n';
      exit(0);
    }
  });
  cout << "No\n";
}