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;
long long const maxn = 2005;
long long n, s, pos[maxn];
struct node {
  long long x, y;
} a[maxn];
struct line {
  long long id1, id2;
} p[maxn * maxn];
inline node operator-(node x, node y) { return (node){x.x - y.x, x.y - y.y}; }
inline long long cross(node x, node y) { return x.x * y.y - y.x * x.y; }
inline bool cmp1(node x, node y) {
  if (x.x == y.x) return x.y < y.y;
  return x.x < y.x;
}
inline bool cmp2(line x, line y) {
  node u = a[x.id1] - a[x.id2], v = a[y.id1] - a[y.id2];
  return cross(u, v) > 0;
}
signed main() {
  scanf("%I64d%I64d", &n, &s);
  s <<= 1ll;
  for (long long i = 1; i <= n; i++) scanf("%I64d%I64d", &a[i].x, &a[i].y);
  sort(a + 1, a + n + 1, cmp1);
  for (long long i = 1; i <= n; i++) pos[i] = i;
  long long m = 0;
  for (long long i = 1; i <= n; i++)
    for (long long j = i + 1; j <= n; j++) p[++m] = (line){i, j};
  sort(p + 1, p + m + 1, cmp2);
  for (long long i = 1; i <= m; i++) {
    long long aa = pos[p[i].id1], bb = pos[p[i].id2];
    node pp = a[aa] - a[bb];
    long long l = 1, r = aa - 1;
    while (l <= r) {
      long long mid = (l + r) >> 1;
      if (abs(cross(a[mid] - a[aa], pp)) >= s)
        l = mid + 1;
      else
        r = mid - 1;
    }
    if (abs(cross(a[r] - a[aa], pp)) == s) {
      puts("Yes");
      printf("%I64d %I64d\n", a[aa].x, a[aa].y);
      printf("%I64d %I64d\n", a[bb].x, a[bb].y);
      printf("%I64d %I64d\n", a[r].x, a[r].y);
      return 0;
    }
    swap(pos[p[i].id1], pos[p[i].id2]);
    swap(a[aa], a[bb]);
  }
  puts("No");
  return 0;
}