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 N = 2020;
const int M = 4e6 + 1;
int n;
long long S;
long long ABS(long long a) { return a < 0 ? -a : a; }
struct Point {
  long long x, y;
  void in() { scanf("%I64d%I64d", &x, &y); }
  void out() { printf("%I64d %I64d\n", x, y); }
  Point() {}
  Point(long long a, long long b) : x(a), y(b) {}
  long long operator*(const Point &a) { return x * a.y - y * a.x; }
  Point operator-(const Point &a) { return Point(x - a.x, y - a.y); }
  bool operator<(const Point &a) const {
    return x < a.x || (x == a.x && y < a.y);
  }
} P[N], V;
struct Line {
  Point vec;
  int x, y;
  Line() {}
  Line(int a, int b, Point c) : x(a), y(b), vec(c) {}
} L[M];
bool cmp(Line a, Line b) { return (a.vec * b.vec) > 0; }
int rak[N], id[N], top;
int l, r;
int main() {
  scanf("%d%I64d", &n, &S);
  S <<= 1;
  for (int i = 1; i <= n; i++) P[i].in();
  sort(P + 1, P + n + 1);
  for (int i = 1; i <= n; i++)
    for (int j = i + 1; j <= n; j++) L[++top] = Line(i, j, P[j] - P[i]);
  sort(L + 1, L + top + 1, cmp);
  for (int i = 1; i <= n; i++) rak[i] = id[i] = i;
  for (int i = 1, xx, yy; i <= top; i++) {
    V = L[i].vec;
    xx = L[i].x;
    yy = L[i].y;
    if (rak[xx] > rak[yy]) swap(xx, yy);
    l = 1;
    r = rak[xx] - 1;
    while (l <= r) {
      int mid = l + r >> 1;
      long long area = ABS(V * (P[id[mid]] - P[id[rak[xx]]]));
      if (area == S) {
        puts("Yes");
        P[xx].out();
        P[yy].out();
        P[id[mid]].out();
        return 0;
      } else {
        if (area > S)
          l = mid + 1;
        else
          r = mid - 1;
      }
    }
    swap(rak[xx], rak[yy]);
    swap(id[rak[xx]], id[rak[yy]]);
  }
  puts("No");
  return 0;
}