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 = 2005, inf = 0x3f3f3f3f;
int n, m, pos[N];
long long S;
struct vec {
  long long x, y;
  void read() { scanf("%I64d %I64d", &x, &y); }
  void print() { printf("%I64d %I64d\n", x, y); }
} a[N];
struct node {
  int x, y;
  vec f;
} f[N * N];
vec operator+(vec a, vec b) { return (vec){a.x + b.x, a.y + b.y}; }
vec operator-(vec a, vec b) { return (vec){a.x - b.x, a.y - b.y}; }
long long operator^(vec a, vec b) { return a.x * b.y - a.y * b.x; }
int getquad(vec a) {
  if ((a.x > 0) && (a.y >= 0)) return 1;
  if ((a.x <= 0) && (a.y > 0)) return 2;
  if ((a.x < 0) && (a.y <= 0)) return 3;
  if ((a.x >= 0) && (a.y < 0)) return 4;
  return 0;
}
bool cmp1(node a, node b) {
  int ta = getquad(a.f), tb = getquad(b.f);
  return (ta != tb) ? (ta < tb) : ((a.f ^ b.f) > 0);
}
bool cmp(vec a, vec b) { return (a.y != b.y) ? (a.y < b.y) : (a.x < b.x); }
void print(int x, int y, int z) {
  puts("Yes");
  a[x].print();
  a[y].print();
  a[z].print();
}
long long check(vec x, node f) { return (f.f ^ (x - a[pos[f.x]])); }
bool work(int l, int r, node f) {
  if (r < l) return false;
  int mid = (l + r) >> 1;
  long long s = check(a[mid], f);
  if (s == S) {
    print(mid, pos[f.x], pos[f.y]);
    return true;
  } else if (s < S)
    return work(mid + 1, r, f);
  else
    return work(l, mid - 1, f);
}
int main() {
  scanf("%d %I64d", &n, &S);
  S *= 2;
  for (int i = 1; i <= n; i++) a[i].read();
  sort(a + 1, a + n + 1, cmp);
  for (int i = 1; i <= n; i++) pos[i] = i;
  m = 0;
  for (int i = 1; i <= n; i++)
    for (int j = 1; j <= n; j++)
      if (i != j) {
        f[++m].x = i;
        f[m].y = j;
        f[m].f = a[j] - a[i];
      }
  sort(f + 1, f + m + 1, cmp1);
  for (int i = 1; i <= m; i++) {
    if (work(1, n, f[i])) return 0;
    int l = pos[f[i].x], r = pos[f[i].y];
    swap(a[l], a[r]);
    swap(pos[f[i].x], pos[f[i].y]);
  }
  puts("No");
  return 0;
}