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 LL = long long;
const int max_N = 2000 + 21;
struct P {
  LL x, y;
  P() = default;
  explicit P(LL x, LL y) : x(x), y(y) {}
  inline void init() { scanf("%lld%lld", &x, &y); }
  inline LL det(const P &o) const { return x * o.y - y * o.x; }
  inline LL dot(const P &o) const { return x * o.x + y * o.y; }
  inline int region() const {
    return x < 0 ? (y < 0 ? 3 : 2) : (y < 0 ? 4 : 1);
  }
  inline bool operator==(const P &o) const { return x == o.x && y == o.y; }
  inline P sub(const P &o) const { return P(x - o.x, y - o.y); }
  inline void display() { printf("%lld %lld\n", x, y); }
} p[max_N];
int n, Q[max_N], pos[max_N];
bool cmp(int a, int b) {
  if (p[a].x != p[b].x) return p[a].x < p[b].x;
  return std::make_pair(p[a].y, a) < std::make_pair(p[b].y, b);
}
struct vec {
  P v;
  int idl, idr;
  vec() = default;
  explicit vec(P v, int idl, int idr) : v(v), idl(idl), idr(idr) {}
  friend bool operator<(const vec &a, const vec &b) {
    LL t, t1, t2;
    if ((t1 = a.v.region()) != (t2 = b.v.region())) return t1 < t2;
    if ((t = a.v.det(b.v)) != 0) return t > 0;
    if ((t1 = a.v.dot(p[a.idr])) != (t2 = a.v.dot(p[b.idr]))) return t1 < t2;
    if (a.idr != b.idr) {
      if (p[a.idr] == p[b.idr]) return a.idr > b.idr;
      return a.v.det(p[a.idr]) < a.v.det(p[b.idr]);
    } else {
      if (p[a.idl] == p[b.idl]) return a.idl < b.idl;
      return a.v.det(p[a.idl]) < a.v.det(p[b.idl]);
    }
  }
};
std::vector<vec> vecs;
LL S;
inline LL area(int a, int b, int c) {
  return p[a].det(p[b]) + p[b].det(p[c]) + p[c].det(p[a]);
}
void solve(int a, int b) {
  int l = 0, r = pos[b] - 1;
  while (l <= r) {
    int mid = (l + r) >> 1;
    LL ret = area(a, b, Q[mid]);
    if (ret == S) {
      puts("Yes");
      p[a].display();
      p[b].display();
      p[Q[mid]].display();
      exit(0);
    }
    if (ret < S) {
      r = mid - 1;
    } else {
      l = mid + 1;
    }
  }
  std::swap(a, b);
  l = pos[b] + 1, r = n - 1;
  while (l <= r) {
    int mid = (l + r) >> 1;
    LL ret = area(a, b, Q[mid]);
    if (ret == S) {
      puts("Yes");
      p[a].display();
      p[b].display();
      p[Q[mid]].display();
      exit(0);
    }
    if (ret < S) {
      r = mid - 1;
    } else {
      l = mid + 1;
    }
  }
}
int main() {
  scanf("%d%lld", &n, &S);
  S <<= 1;
  for (int i = 0; i < n; ++i) {
    Q[i] = i;
    p[i].init();
  }
  std::sort(Q, Q + n, cmp);
  for (int i = 0; i < n; ++i) {
    pos[Q[i]] = i;
  }
  for (int i = 0; i < n; ++i) {
    for (int j = 0; j < n; ++j) {
      if (p[i] == p[j]) continue;
      vecs.emplace_back(p[i].sub(p[j]), i, j);
    }
  }
  std::sort(vecs.begin(), vecs.end());
  for (auto &it : vecs) {
    if (pos[it.idl] < pos[it.idr]) {
      solve(it.idr, it.idl);
      continue;
    }
    solve(it.idl, it.idr);
    std::swap(Q[pos[it.idl]], Q[pos[it.idr]]);
    std::swap(pos[it.idl], pos[it.idr]);
  }
  puts("No");
}