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>
int n, cnt, pos[2005];
long long s;
struct point {
  int x, y;
  friend bool operator<(point t1, point t2) { return t1.x < t2.x; }
  friend point operator-(point t1, point t2) {
    return {t1.x - t2.x, t1.y - t2.y};
  }
  friend long long operator*(point t1, point t2) {
    return {1ll * t1.x * t2.y - 1ll * t1.y * t2.x};
  }
} A[2005];
struct node {
  double d;
  int p1, p2;
  friend bool operator<(node t1, node t2) { return t1.d < t2.d; }
} B[2005 * 2005];
long long cal(point a, point b, point c) { return abs((b - a) * (c - a)); }
void print(point a, point b, point c) {
  puts("Yes");
  printf("%d %d\n", a.x, a.y);
  printf("%d %d\n", b.x, b.y);
  printf("%d %d\n", c.x, c.y);
}
int main() {
  scanf("%d%I64d", &n, &s);
  s <<= 1ll;
  for (int i = 1; i <= n; i++) scanf("%d%d", &A[i].x, &A[i].y);
  std::sort(A + 1, A + 1 + n);
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j < i; j++)
      if (A[i].x != A[j].x)
        B[++cnt] = {(A[i].y - A[j].y) * 1.0 / (A[i].x - A[j].x), j, i};
      else
        B[++cnt] = {1e18, j, i};
  }
  std::sort(B + 1, B + 1 + cnt);
  for (int i = 1; i <= n; i++) pos[i] = i;
  for (int i = 1; i <= cnt; i++) {
    int x = pos[B[i].p1], y = pos[B[i].p2];
    if (x > y) std::swap(x, y);
    int l = 1, r = x - 1;
    while (l < r) {
      int mid = (l + r) >> 1;
      long long sq = cal(A[mid], A[x], A[y]);
      if (sq == s) return print(A[mid], A[x], A[y]), 0;
      if (sq > s)
        l = mid + 1;
      else
        r = mid;
    }
    l = x + 1, r = n;
    while (l < r) {
      int mid = (l + r) >> 1;
      long long sq = cal(A[mid], A[x], A[y]);
      if (sq == s) return print(A[mid], A[x], A[y]), 0;
      if (sq > s)
        r = mid;
      else
        l = mid + 1;
    }
    std::swap(pos[B[i].p1], pos[B[i].p2]);
    std::swap(A[x], A[y]);
  }
  puts("No");
}