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;
long long ccw(pair<long long, long long> a, pair<long long, long long> b,
              pair<long long, long long> c) {
  return a.first * b.second + b.first * c.second + c.first * a.second -
         a.second * b.first - b.second * c.first - c.second * a.first;
}
pair<long long, long long> operator-(pair<long long, long long> &a,
                                     pair<long long, long long> &b) {
  return pair<long long, long long>(a.first - b.first, a.second - b.second);
}
int n;
long long S;
pair<long long, long long> arr[2100];
int ord[2100];
int loc[2100];
vector<pair<int, int> > lis;
void print(int a, int b, int c) {
  printf("Yes\n");
  printf("%lld %lld\n%lld %lld\n%lld %lld\n", arr[a].first, arr[a].second,
         arr[b].first, arr[b].second, arr[c].first, arr[c].second);
  exit(0);
}
int main() {
  int i, j;
  scanf("%d%lld", &n, &S);
  for (i = 0; i < n; i++) scanf("%lld%lld", &arr[i].first, &arr[i].second);
  sort(arr, arr + n);
  for (i = 0; i < n; i++) {
    ord[i] = loc[i] = i;
    for (j = i + 1; j < n; j++) lis.push_back(pair<int, int>(i, j));
  }
  sort(lis.begin(), lis.end(), [](pair<int, int> a, pair<int, int> b) {
    if (ccw(pair<long long, long long>(0, 0), arr[a.second] - arr[a.first],
            arr[b.second] - arr[b.first]) != 0)
      return ccw(pair<long long, long long>(0, 0), arr[a.second] - arr[a.first],
                 arr[b.second] - arr[b.first]) > 0;
    return a < b;
  });
  for (i = 0; i < lis.size(); i++) {
    int a = lis[i].first, b = lis[i].second;
    if (abs(loc[a] - loc[b]) != 1) {
      while (true)
        ;
      return 0;
    }
    int s = max(loc[a], loc[b]) + 1, e = n - 1;
    while (s <= e) {
      int m = (s + e) / 2;
      long long v = abs(ccw(arr[a], arr[b], arr[ord[m]]));
      if (v == 2 * S) print(a, b, ord[m]);
      if (v > 2 * S)
        e = m - 1;
      else
        s = m + 1;
    }
    s = 0, e = min(loc[a], loc[b]) - 1;
    while (s <= e) {
      int m = (s + e) / 2;
      long long v = abs(ccw(arr[a], arr[b], arr[ord[m]]));
      if (v == 2 * S) print(a, b, ord[m]);
      if (v > 2 * S)
        s = m + 1;
      else
        e = m - 1;
    }
    swap(ord[loc[a]], ord[loc[b]]);
    swap(loc[a], loc[b]);
  }
  printf("No\n");
  return 0;
}