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;
template <typename T>
void chkmax(T &x, T y) {
  x = x > y ? x : y;
}
template <typename T>
void chkmin(T &x, T y) {
  x = x > y ? y : x;
}
const int INF = 2139062143;
template <typename T>
void read(T &x) {
  x = 0;
  bool f = 1;
  char ch;
  do {
    ch = getchar();
    if (ch == '-') f = 0;
  } while (ch > '9' || ch < '0');
  do {
    x = x * 10 + ch - '0';
    ch = getchar();
  } while (ch >= '0' && ch <= '9');
  x = f ? x : -x;
}
template <typename T>
void write(T x) {
  if (x < 0) x = ~x + 1, putchar('-');
  if (x > 9) write(x / 10);
  putchar(x % 10 + '0');
}
const int N = 2000 + 5;
long long n, m, s, rk[N], id[N];
struct Point;
struct Point {
  long long x, y;
  Point(long long X = 0, long long Y = 0) {
    x = X;
    y = Y;
  }
  void in() {
    read(x);
    read(y);
  }
  void out() { printf("%lld %lld\n", x, y); }
  inline bool operator<(const Point &a) const {
    return (x < a.x) || (x == a.x && y < a.y);
  }
  inline Point operator+(const Point &a) const {
    return Point(x + a.x, y + a.y);
  }
  inline Point operator-(const Point &a) const {
    return Point(x - a.x, y - a.y);
  }
  inline long long operator*(const Point &a) const { return x * a.y - y * a.x; }
} p[N];
struct Segment {
  long long x, y;
  Point p;
  inline bool operator<(const Segment &a) const { return p * a.p > 0; }
} line[N * N / 2];
signed main() {
  read(n);
  read(s);
  s *= 2;
  for (long long i = 1; i <= n; i++) p[i].in(), rk[i] = id[i] = i;
  sort(p + 1, p + n + 1);
  for (long long i = 1; i <= n; i++) {
    for (long long j = i + 1; j <= n; j++) {
      line[++m] = (Segment){i, j, p[j] - p[i]};
    }
  }
  sort(line + 1, line + m + 1);
  for (long long i = 1; i <= m; i++) {
    long long u = line[i].x, v = line[i].y;
    if (rk[u] > rk[v]) swap(u, v);
    long long l = 1, r = rk[u] - 1;
    while (l <= r) {
      long long mid = (l + r) >> 1;
      long long tmp = (p[id[mid]] - p[u]) * (p[id[mid]] - p[v]);
      tmp = abs(tmp);
      if (tmp == s) {
        puts("Yes");
        p[u].out();
        p[v].out();
        p[id[mid]].out();
        exit(0);
      }
      if (tmp > s)
        l = mid + 1;
      else
        r = mid - 1;
    }
    swap(rk[u], rk[v]);
    swap(id[rk[u]], id[rk[v]]);
  }
  puts("No");
  return 0;
}