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 N = 2020;
const int M = N * N / 2;
struct Point {
  long long x, y;
  Point() : x(), y() {}
  Point(long long _x, long long _y) : x(_x), y(_y) {}
  void scan() { scanf("%lld%lld", &x, &y); }
  void print() { printf("%lld %lld\n", x, y); }
  Point operator+(const Point &a) const { return Point(x + a.x, y + a.y); }
  Point operator-(const Point &a) const { return Point(x - a.x, y - a.y); }
  long long operator%(const Point &a) const { return x * a.x + y * a.y; }
  long long operator*(const Point &a) const { return x * a.y - y * a.x; }
  long long sqrLen() const { return *this % *this; }
};
Point a[N];
int p[N];
int rp[N];
pair<int, int> b[M];
int n;
long long S;
bool cmp1(const int &id1, const int &id2) {
  Point v = a[id1], u = a[id2];
  if (v.y != u.y) return v.y < u.y;
  return v.x < u.x;
}
bool cmp2(const pair<int, int> &p1, const pair<int, int> &p2) {
  Point v = a[p1.second] - a[p1.first], u = a[p2.second] - a[p2.first];
  return v * u > 0;
}
void solve(int v, int u) {
  Point w = a[u] - a[v];
  int l = 0, r = n;
  while (r - l > 1) {
    int m = (l + r) / 2;
    if (w * (a[p[m]] - a[v]) <= -S)
      l = m;
    else
      r = m;
  }
  if (w * (a[p[l]] - a[v]) == -S) {
    printf("Yes\n");
    a[v].print();
    a[u].print();
    a[p[l]].print();
    exit(0);
  }
  l = 0;
  r = n;
  while (r - l > 1) {
    int m = (l + r) / 2;
    if (w * (a[p[m]] - a[v]) <= S)
      l = m;
    else
      r = m;
  }
  if (w * (a[p[l]] - a[v]) == S) {
    printf("Yes\n");
    a[v].print();
    a[u].print();
    a[p[l]].print();
    exit(0);
  }
}
int main() {
  scanf("%d%lld", &n, &S);
  S *= 2;
  for (int i = 0; i < n; i++) a[i].scan();
  for (int i = 0; i < n; i++) p[i] = i;
  sort(p, p + n, cmp1);
  for (int i = 0; i < n; i++) rp[p[i]] = i;
  int m = 0;
  for (int i = 0; i < n; i++)
    for (int j = 0; j < i; j++) {
      Point d = a[j] - a[i];
      if (d.y < 0 || (d.y == 0 && d.x < 0)) {
        b[m++] = make_pair(j, i);
      } else {
        b[m++] = make_pair(i, j);
      }
    }
  sort(b, b + m, cmp2);
  for (int i = 0; i < m; i++) {
    int v = b[i].first, u = b[i].second;
    solve(v, u);
    int pv = rp[v], pu = rp[u];
    swap(p[pv], p[pu]);
    swap(rp[v], rp[u]);
  }
  printf("No\n");
  return 0;
}