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;
using PII = std::pair<int, int>;
const int max_N = 2000 + 21;
struct P {
  int x, y;
  explicit P(int x = 0, int y = 0) : x(x), y(y) {}
  inline P sub(const P &p) const { return P(x - p.x, y - p.y); }
  inline LL dot(const P &p) const { return 1ll * x * p.x + 1ll * y * p.y; }
  inline LL det(const P &p) const { return 1ll * x * p.y - 1ll * y * p.x; }
  inline P rot90() const { return P(-y, x); }
} p[max_N], v[max_N][max_N];
int n, Q[max_N], rk[max_N];
LL S;
std::vector<PII> vec;
LL area(int i, int j, int k) { return p[i].sub(p[k]).det(p[j].sub(p[k])); }
struct functor {
  inline bool operator()(const PII &a, const PII &b) const {
    return v[a.first][a.second].det(v[b.first][b.second]) > 0;
  }
};
void binarySearch(int u, int v) {
  int lo = 1, hi = n;
  while (lo <= hi) {
    int mi = (lo + hi) >> 1;
    LL s = area(u, v, Q[mi]);
    if (s == S) {
      puts("Yes");
      printf("%d %d\n", p[u].x, p[u].y);
      printf("%d %d\n", p[v].x, p[v].y);
      printf("%d %d\n", p[Q[mi]].x, p[Q[mi]].y);
      exit(0);
    }
    if (s < S)
      lo = mi + 1;
    else
      hi = mi - 1;
  }
}
void solve() {
  std::sort(p + 1, p + 1 + n,
            [&](P a, P b) { return a.y == b.y ? a.x < b.x : a.y < b.y; });
  for (int i = 1; i <= n; ++i)
    for (int j = i + 1; j <= n; ++j) {
      v[i][j] = p[j].sub(p[i]);
      vec.push_back({i, j});
    }
  std::sort((vec).begin(), (vec).end(), functor());
  for (int i = 1; i <= n; ++i) Q[i] = rk[i] = i;
  for (int i = 1; i <= n; ++i) rk[Q[i]] = i;
  for (int i = 0, sz = int(vec.size()); i < sz; ++i) {
    int u = vec[i].first, v = vec[i].second;
    binarySearch(v, u);
    std::swap(Q[rk[u]], Q[rk[v]]);
    std::swap(rk[u], rk[v]);
    binarySearch(u, v);
  }
  puts("No");
}
int main() {
  scanf("%d%lld", &n, &S);
  S <<= 1;
  for (int i = 1; i <= n; ++i) {
    scanf("%d%d", &p[i].x, &p[i].y);
  }
  solve();
  return 0;
}