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 maxn = 2010;
const double PI = acos(-1);
istream& operator>>(istream& in, pair<int, int>& p) {
  in >> p.first >> p.second;
  return in;
}
ostream& operator<<(ostream& out, pair<int, int> p) {
  out << p.first << " " << p.second;
  return out;
}
pair<int, int> operator-(pair<int, int> a, pair<int, int> b) {
  return {a.first - b.first, a.second - b.second};
}
long long operator*(pair<int, int> a, pair<int, int> b) {
  return 1ll * a.first * b.second - 1ll * a.second * b.first;
}
pair<int, int> p[maxn];
vector<pair<int, int> > vec;
int arr[maxn], pos[maxn];
void print(int a, int b, int c) {
  cout << "Yes\n" << p[a] << "\n" << p[b] << "\n" << p[c] << "\n";
  exit(0);
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie();
  int n;
  cin >> n;
  long long second;
  cin >> second;
  second *= 2;
  for (int i = 0; i < n; i++) cin >> p[i], pos[i] = arr[i] = i;
  sort(p, p + n, [](pair<int, int> a, pair<int, int> b) {
    return a.second == b.second ? a.first < b.first : a.second < b.second;
  });
  for (int i = 0; i < n; i++)
    for (int j = 0; j < n; j++)
      if (i != j) vec.push_back({i, j});
  sort(vec.begin(), vec.end(), [](pair<int, int> i, pair<int, int> j) {
    pair<int, int> A = p[i.first] - p[i.second], B = p[j.first] - p[j.second];
    int _A = A.second < 0 || (A.second == 0 && A.first < 0);
    int _B = B.second < 0 || (B.second == 0 && B.first < 0);
    return _A != _B ? _A < _B : A * B > 0;
  });
  for (auto it : vec) {
    int a = it.first, b = it.second;
    swap(pos[a], pos[b]);
    swap(arr[pos[a]], arr[pos[b]]);
    auto f = [&](int c) { return (p[a] - p[b]) * (p[c] - p[b]); };
    int l = -1, r = n;
    while (r - l > 1) {
      int mid = (l + r) / 2;
      if (f(arr[mid]) < second)
        l = mid;
      else
        r = mid;
    }
    if (r != n && f(arr[r]) == second) print(a, b, arr[r]);
  }
  return cout << "No\n", 0;
}