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 = 2002;
int n, i, j, m, x, y, pos[N], id[N];
long long S;
struct P {
  int x, y;
  bool operator<(P a) const { return x < a.x || x == a.x && y < a.y; }
  P operator-(P a) const { return {x - a.x, y - a.y}; }
  long long operator^(P a) const { return 1ll * x * a.y - 1ll * a.x * y; }
} a[N];
struct K {
  int x, y;
  double k;
  bool operator<(K a) const { return k < a.k; }
} b[N * N];
long long cal(P A, P B, P C) { return abs((B - A) ^ (C - A)); }
void doit(int l, int r) {
  int t = 0;
  while (l <= r) {
    int mid = l + r >> 1;
    if (cal(a[id[mid]], a[x], a[y]) >= S)
      r = mid - 1, t = id[mid];
    else
      l = mid + 1;
  }
  if (cal(a[t], a[x], a[y]) == S)
    printf("Yes\n%d %d\n%d %d\n%d %d", a[t].x, a[t].y, a[x].x, a[x].y, a[y].x,
           a[y].y),
        exit(0);
}
int main() {
  scanf("%d%lld", &n, &S), S *= 2;
  for (i = 1; i <= n; i++) scanf("%d%d", &a[i].x, &a[i].y), pos[i] = id[i] = i;
  sort(a + 1, a + n + 1);
  for (i = 1; i <= n; i++)
    for (j = i + 1; j <= n; j++)
      b[++m] = {i, j, atan2(a[j].y - a[i].y, a[j].x - a[i].x)};
  sort(b + 1, b + m + 1);
  for (i = 1; i <= m; i++) {
    x = b[i].x, y = b[i].y;
    if (pos[x] > pos[y]) swap(x, y);
    doit(1, pos[x] - 1), doit(pos[y] + 1, n);
    swap(pos[x], pos[y]), swap(id[pos[x]], id[pos[y]]);
  }
  puts("No");
}