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 = 2050;
const int M = 4000500;
int n, cnt, q[N], l, r, mid, x, y, from[N];
long long s;
struct point {
  long long x, y;
} p[N];
struct vector_ {
  long long x, y;
} v[M], t;
vector_ operator+(vector_ a, vector_ b) {
  return (vector_){a.x + b.x, a.y + b.y};
}
vector_ operator-(vector_ a, vector_ b) {
  return (vector_){a.x - b.x, a.y - b.y};
}
vector_ operator-(point a, point b) { return (vector_){a.x - b.x, a.y - b.y}; }
long long operator*(vector_ a, vector_ b) { return a.x * b.x + a.y * b.y; }
long long cross(vector_ a, vector_ b) { return a.x * b.y - a.y * b.x; }
inline vector_ make(point a, point b) {
  return (vector_){b.x - a.x, b.y - a.y};
}
inline bool cmp(point a, point b) { return a.x == b.x ? a.y < b.y : a.x < b.x; }
struct line {
  int a, b;
  vector_ p;
} a[M];
bool operator<(line a, line b) { return a.p.y * b.p.x < a.p.x * b.p.y; }
int main() {
  scanf("%d%lld", &n, &s);
  s <<= 1;
  for (int i = 1; i <= n; i++) {
    scanf("%lld%lld", &p[i].x, &p[i].y);
  }
  sort(p + 1, p + n + 1, cmp);
  for (int i = 1; i <= n; i++) from[i] = i;
  for (int i = 1; i <= n; i++)
    for (int j = i + 1; j <= n; j++) a[++cnt] = {i, j, p[j] - p[i]};
  sort(a + 1, a + cnt + 1);
  for (int i = 1; i <= cnt; i++) {
    x = from[a[i].a];
    y = from[a[i].b];
    t = a[i].p;
    l = 1;
    r = x - 1;
    while (l <= r) {
      mid = (l + r) >> 1;
      if (abs(cross(t, p[mid] - p[x])) > s)
        l = mid + 1;
      else
        r = mid - 1;
    }
    if (abs(cross(t, p[l] - p[x])) == s) {
      printf("Yes\n%lld %lld\n%lld %lld\n%lld %lld\n", p[x].x, p[x].y, p[y].x,
             p[y].y, p[l].x, p[l].y);
      return 0;
    }
    swap(from[a[i].a], from[a[i].b]);
    swap(p[x], p[y]);
  }
  printf("No");
  return 0;
}