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;
class point {
 public:
  point(long long a = 0, long long b = 0) : x(a), y(b) {}
  long long x, y;
  friend ostream& operator<<(ostream&, point&);
  friend point operator-(point&, point&);
} a[2000];
point operator-(point& left, point& right) {
  return point(left.x - right.x, left.y - right.y);
}
ostream& operator<<(ostream& out, point& obj) {
  out << obj.x << ' ' << obj.y;
  return out;
}
long long cross(point i, point j) { return i.x * j.y - i.y * j.x; }
class seg {
 public:
  point p1, p2, v;
  long long area(point t);
} b[2000010];
long long seg::area(point t) {
  long long temp = cross(p1 - t, p2 - t);
  if (temp < 0) return -temp;
  return temp;
}
bool cmp(seg i, seg j) { return cross(i.v, j.v) > 0; }
bool cmp1(point i, point j) {
  if (i.x != j.x)
    return i.x < j.x;
  else
    return i.y > j.y;
}
map<pair<int, int>, int> map1;
int main() {
  int n;
  long long s;
  cin >> n >> s;
  for (int i = 1; i <= n; i++) scanf("%lld%lld", &a[i].x, &a[i].y);
  sort(a + 1, a + n + 1, cmp1);
  int len = 0;
  for (int i = 1; i <= n - 1; i++) {
    for (int j = i + 1; j <= n; j++) {
      b[++len].p1 = a[i];
      b[len].p2 = a[j];
      b[len].v = point(-(a[i].x - a[j].x), -(a[i].y - a[j].y));
    }
  }
  sort(b + 1, b + 1 + len, cmp);
  int num[2000] = {};
  for (int i = 1; i <= n; i++) {
    map1[make_pair(a[i].x, a[i].y)] = i;
    num[i] = i;
  }
  for (int i = 1; i <= len; i++) {
    point p1 = b[i].p1, p2 = b[i].p2;
    int t1 = map1[make_pair(p1.x, p1.y)];
    int t2 = map1[make_pair(p2.x, p2.y)];
    map1[make_pair(p1.x, p1.y)] = t2;
    map1[make_pair(p2.x, p2.y)] = t1;
    if (t1 > t2) {
      int t3 = t1;
      t1 = t2;
      t2 = t3;
    }
    int l = 1, r = t1 - 1;
    while (l <= r) {
      int mid = (l + r) / 2;
      point temp = a[num[mid]];
      long long area = b[i].area(temp);
      if (area == s * 2) {
        cout << "Yes\n" << b[i].p1 << '\n' << b[i].p2 << '\n' << temp;
        return 0;
      } else if (area >= s * 2)
        l = mid + 1;
      else
        r = mid - 1;
    }
    l = t2 + 1, r = n;
    while (l <= r) {
      int mid = (l + r) / 2;
      point temp = a[num[mid]];
      long long area = b[i].area(temp);
      if (area == s * 2) {
        cout << "Yes\n" << b[i].p1 << '\n' << b[i].p2 << '\n' << temp;
        return 0;
      } else if (area >= s * 2)
        l = mid + 1;
      else
        r = mid - 1;
    }
    int t3 = num[t1];
    num[t1] = num[t2];
    num[t2] = t3;
  }
  cout << "No";
  return 0;
}