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;
long double INF = 1e100;
long double EPS = 1e-10, PI = acos((long double)-1);
struct pt {
  long long x, y;
  pt() {}
  pt(long double x, long double y) : x(x), y(y) {}
  pt(const pt &p) : x(p.x), y(p.y) {}
  pt operator+(const pt &p) const { return pt(x + p.x, y + p.y); }
  pt operator-(const pt &p) const { return pt(x - p.x, y - p.y); }
  pt operator*(long double c) const { return pt(x * c, y * c); }
  pt operator/(long double c) const { return pt(x / c, y / c); }
};
long double dot(pt p, pt q) { return p.x * q.x + p.y * q.y; }
long double dist2(pt p, pt q) { return dot(p - q, p - q); }
long double cross(pt p, pt q) { return p.x * q.y - p.y * q.x; }
ostream &operator<<(ostream &os, const pt &p) {
  return os << "(" << p.x << "," << p.y << ")";
}
pt RotateCCW90(pt p) { return pt(-p.y, p.x); }
pt RotateCW90(pt p) { return pt(p.y, -p.x); }
pt RotateCCW(pt p, long double t) {
  return pt(p.x * cos(t) - p.y * sin(t), p.x * sin(t) + p.y * cos(t));
}
pt ProjectPointLine(pt a, pt b, pt c) {
  return a + (b - a) * dot(c - a, b - a) / dot(b - a, b - a);
}
long double DistancePointLine(pt a, pt b, pt c) {
  return sqrt(dist2(c, ProjectPointLine(a, b, c)));
}
int n, sz, order[maxn], where[maxn];
pt a[maxn];
long long s;
struct Event {
  int i, j;
  long double angle;
} event[maxn * maxn];
long double angle(int x, int y) {
  long double ret = atan2(y, x);
  return ret < 0 ? ret + 2 * PI : ret;
}
long 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);
  int ans = 0;
  for_each(event, event + sz, [&ans](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";
}