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>
inline long long gcd(long long a, long long b) { return b ? gcd(b, a % b) : a; }
inline void sub(long long &a, long long b) {
  a -= b;
  if (a < 0) a += 1000000007;
}
inline void add(long long &a, long long b) {
  a += b;
  if (a >= 1000000007) a -= 1000000007;
}
template <typename T>
inline T const &MAX(T const &a, T const &b) {
  return a > b ? a : b;
}
template <typename T>
inline T const &MIN(T const &a, T const &b) {
  return a < b ? a : b;
}
inline long long qp(long long a, long long b) {
  long long ans = 1;
  while (b) {
    if (b & 1) ans = ans * a % 1000000007;
    a = a * a % 1000000007, b >>= 1;
  }
  return ans;
}
inline long long qp(long long a, long long b, long long c) {
  long long ans = 1;
  while (b) {
    if (b & 1) ans = ans * a % c;
    a = a * a % c, b >>= 1;
  }
  return ans;
}
using namespace std;
const unsigned long long ba = 233;
const double eps = 1e-5;
const long long INF = 0x3f3f3f3f3f3f3f3f;
const int N = 2000 + 10, maxn = 100000 + 10, inf = 0x3f3f3f3f;
struct Point {
  long long x, y;
  Point(long long x = 0, long long y = 0) : x(x), y(y) {}
  bool operator<(const Point &rhs) const {
    return x < rhs.x || (x == rhs.x && y < rhs.y);
  }
  inline void read() { scanf("%lld%lld", &x, &y); }
  inline void pr() { printf("%lld %lld\n", x, y); }
} p[N];
Point operator-(Point A, Point B) { return Point(A.x - B.x, A.y - B.y); }
inline long long Cross(Point A, Point B) { return A.x * B.y - A.y * B.x; }
struct line {
  int a, b;
  Point p;
  bool operator<(const line &rhs) const { return Cross(p, rhs.p) > 0; }
} l[N * N];
int id[N], pos[N];
int main() {
  long long s;
  int n, cnt = 0;
  scanf("%d%lld", &n, &s);
  for (int i = 1; i <= n; i++) p[i].read();
  sort(p + 1, p + 1 + n);
  for (int i = 1; i <= n; i++) id[i] = pos[i] = i;
  for (int i = 1; i <= n; i++)
    for (int j = i + 1; j <= n; j++) l[++cnt] = {i, j, p[j] - p[i]};
  sort(l + 1, l + 1 + cnt);
  for (int i = 1; i <= cnt; i++) {
    int a = l[i].a, b = l[i].b;
    Point c = l[i].p;
    if (id[a] > id[b]) swap(a, b);
    int L = 1, R = id[a] - 1;
    while (L <= R) {
      int m = (L + R) >> 1;
      long long te = abs(Cross(c, p[pos[m]] - p[pos[id[a]]]));
      if (s * 2 == te) {
        puts("Yes");
        p[a].pr();
        p[b].pr();
        p[pos[m]].pr();
        return 0;
      }
      if (te > s * 2)
        L = m + 1;
      else
        R = m - 1;
    }
    swap(id[a], id[b]);
    swap(pos[id[a]], pos[id[b]]);
  }
  puts("No");
  return 0;
}