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>
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization("unroll-loops")
using namespace std;
vector<pair<long long int, long long int>> a;
vector<int> ind;
long long int s;
void show() {
  for (auto i : a) cout << i.first << " ";
  cout << endl;
  for (auto i : a) cout << i.second << " ";
  cout << endl;
  for (auto i : ind) cout << i << " ";
  cout << endl;
  cout << endl;
}
int area(int i, int j, int k) {
  pair<long long int, long long int> x = a[i], y = a[j], z = a[k];
  long long int ar = x.first * y.second + y.first * z.second +
                     z.first * x.second - x.first * z.second -
                     z.first * y.second - y.first * x.second;
  ar = abs(ar);
  if (ar == s)
    return 0;
  else if (ar < s)
    return -1;
  else
    return 1;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n, m, i, j, k;
  cin >> n >> s;
  s *= 2;
  a.resize(n);
  for (i = 0; i < n; i++) cin >> a[i].first >> a[i].second;
  sort(a.begin(), a.end());
  ind.resize(n);
  vector<pair<double, pair<int, int>>> rotation;
  for (i = 0; i < n; i++) {
    ind[i] = i;
    for (j = i + 1; j < n; j++) {
      int x = a[j].first - a[i].first;
      int y = a[j].second - a[i].second;
      if (x == 0)
        rotation.push_back({90.000000, {i, j}});
      else
        rotation.push_back({atan(y * 1.0000 / x), {i, j}});
    }
  }
  sort(rotation.begin(), rotation.end());
  vector<int> ans;
  for (auto ang : rotation) {
    pair<int, int> rot = ang.second;
    swap(ind[rot.first], ind[rot.second]);
    rot.first = ind[rot.first];
    rot.second = ind[rot.second];
    swap(a[rot.first], a[rot.second]);
    int l = 0, r = min(rot.first, rot.second) - 1;
    while (l <= r) {
      int md = l + (r - l) / 2;
      int tri = area(md, rot.first, rot.second);
      if (tri == 0) {
        ans.push_back(md);
        break;
      } else if (tri == -1)
        r = md - 1;
      else
        l = md + 1;
    }
    if (l <= r) {
      ans.push_back(rot.first);
      ans.push_back(rot.second);
      break;
    }
    l = max(rot.first, rot.second) + 1, r = n - 1;
    while (l <= r) {
      int md = l + (r - l) / 2;
      int tri = area(md, rot.first, rot.second);
      if (tri == 0) {
        ans.push_back(md);
        break;
      } else if (tri == -1)
        l = md + 1;
      else
        r = md - 1;
    }
    if (l <= r) {
      ans.push_back(rot.first);
      ans.push_back(rot.second);
      break;
    }
  }
  if (ans.size() == 3) {
    cout << "Yes" << endl;
    for (auto i : ans) cout << a[i].first << " " << a[i].second << endl;
  } else
    cout << "No" << endl;
}