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 = 2005;
struct Point {
  long long x;
  long long y;
};
long long Cross(Point a, Point b) { return (a.x * b.y - a.y * b.x); }
Point p[maxn];
long long cal(int a, int b, int c) {
  Point l1, l2;
  l1.x = p[c].x - p[b].x;
  l1.y = p[c].y - p[b].y;
  l2.x = p[c].x - p[a].x;
  l2.y = p[c].y - p[a].y;
  return Cross(l1, l2);
}
struct Line {
  int a;
  int b;
  double k;
};
Line l[maxn * maxn];
int pos[maxn];
int order[maxn];
int n = 0, nl = 0;
long long S;
bool cmp1(int a, int b) {
  if (p[a].x != p[b].x)
    return p[a].x < p[b].x;
  else
    return p[a].y > p[b].y;
}
bool cmp2(Line a, Line b) { return a.k < b.k; }
int judge(int a, int b) {
  int l = 0, r = pos[a];
  while (l != r) {
    int mid = (l + r) / 2;
    if (cal(a, b, order[mid]) > S * 2) {
      l = mid + 1;
    } else {
      r = mid;
    }
  }
  if (cal(a, b, order[l]) == S * 2) {
    return order[l];
  }
  l = pos[a];
  r = n;
  while (l != r) {
    int mid = (l + r) / 2;
    if (cal(a, b, order[mid]) >= S * 2) {
      r = mid;
    } else {
      l = mid + 1;
    }
  }
  if (cal(a, b, order[l]) == S * 2) {
    return order[l];
  }
  return -1;
}
int main() {
  cin >> n >> S;
  for (int i = 0; i < n; i++) {
    scanf("%I64d %I64d", &p[i].x, &p[i].y);
    order[i] = i;
  }
  for (int i = 0; i < n; i++) {
    for (int j = i + 1; j < n; j++) {
      l[nl].a = i;
      l[nl].b = j;
      if (p[i].x == p[j].x) {
        l[nl].k = -1e20;
      } else {
        l[nl].k = 1.0 * (p[i].y - p[j].y) / (p[i].x - p[j].x);
      }
      nl++;
    }
  }
  sort(order, order + n, cmp1);
  sort(l, l + nl, cmp2);
  for (int i = 0; i < n; i++) {
    pos[order[i]] = i;
  }
  for (int i = 0; i < nl; i++) {
    int a = l[i].a, b = l[i].b;
    int t = pos[a];
    pos[a] = pos[b];
    pos[b] = t;
    order[pos[a]] = a;
    order[pos[b]] = b;
    int v = judge(a, b);
    if (v != -1) {
      cout << "Yes" << endl;
      cout << p[a].x << ' ' << p[a].y << endl;
      cout << p[b].x << ' ' << p[b].y << endl;
      cout << p[v].x << ' ' << p[v].y << endl;
      return 0;
    }
  }
  cout << "No" << endl;
  return 0;
}