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;
struct point_t {
  int x, y;
  point_t(int x = 0, int y = 0) : x(x), y(y) {}
  bool operator<(const point_t &b) const {
    return x < b.x || (x == b.x && y < b.y);
  }
  point_t operator-(const point_t &b) const {
    return point_t(x - b.x, y - b.y);
  }
  long long operator*(const point_t &b) const {
    return (long long)x * b.y - (long long)y * b.x;
  }
  void print() { printf("%d %d\n", x, y); }
} p[N];
struct line_t {
  int x, y;
  long double k;
  bool operator<(const line_t &b) const { return k < b.k; }
} l[N * N];
int n, total, id[N], pos[N];
long long area;
long long calc(point_t a, point_t b, point_t c) {
  return abs((b - a) * (c - a));
}
int main() {
  scanf("%d %lld", &n, &area);
  area <<= 1;
  for (int i = 1; i <= n; ++i) {
    scanf("%d %d", &p[i].x, &p[i].y);
    id[i] = pos[i] = i;
  }
  sort(p + 1, p + n + 1);
  for (int i = 1; i <= n; ++i) {
    for (int j = i + 1; j <= n; ++j) {
      ++total;
      l[total].x = i;
      l[total].y = j;
      l[total].k = atan2l(p[j].y - p[i].y, p[j].x - p[i].x);
    }
  }
  sort(l + 1, l + total + 1);
  for (int i = 1; i <= total; ++i) {
    int a = l[i].x, b = l[i].y;
    if (id[a] > id[b]) {
      swap(a, b);
    }
    int l = 1, r = id[a] - 1;
    while (l <= r) {
      int mid = l + r >> 1;
      long long value = calc(p[a], p[b], p[pos[mid]]);
      if (value == area) {
        puts("Yes");
        p[a].print();
        p[b].print();
        p[pos[mid]].print();
        return 0;
      } else if (value > area) {
        l = mid + 1;
      } else {
        r = mid - 1;
      }
    }
    l = id[b] + 1, r = n;
    while (l <= r) {
      int mid = l + r >> 1;
      long long value = calc(p[a], p[b], p[pos[mid]]);
      if (value == area) {
        puts("Yes");
        p[a].print();
        p[b].print();
        p[pos[mid]].print();
        return 0;
      } else if (value > area) {
        r = mid - 1;
      } else {
        l = mid + 1;
      }
    }
    swap(id[a], id[b]);
    swap(pos[id[a]], pos[id[b]]);
  }
  puts("No");
  return 0;
}