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;
template <typename T>
void read(T &num) {
  char c = getchar();
  num = 0;
  T f = 1;
  while (c < '0' || c > '9') {
    if (c == '-') f = -1;
    c = getchar();
  }
  while (c >= '0' && c <= '9') {
    num = (num << 3) + (num << 1) + (c ^ 48);
    c = getchar();
  }
  num *= f;
}
int tri[2010][3];
long long xtq[2010][2010];
int main() {
  int n;
  long long S;
  read(n);
  read(S);
  for (register int i = 1; i <= n; i++) {
    for (register int j = 1; j <= 2; j++) {
      read(tri[i][j]);
    }
  }
  for (register int i = 1; i <= n; i++) {
    for (register int j = 1; j <= n; j++) {
      xtq[i][j] = 1ll * tri[i][1] * tri[j][2] - 1ll * tri[i][2] * tri[j][1];
    }
  }
  for (register int i = 1; i <= n; i++) {
    for (register int j = i + 1; j <= n; j++) {
      long long nop = xtq[i][j];
      long long temp = S * 2 - nop;
      for (register int k = j + 1; k <= n; k++) {
        long long nop2 = xtq[j][k] - xtq[i][k];
        if (nop2 == temp || nop2 == temp - 4 * S) {
          puts("Yes");
          printf("%d %d\n", tri[i][1], tri[i][2]);
          printf("%d %d\n", tri[j][1], tri[j][2]);
          printf("%d %d\n", tri[k][1], tri[k][2]);
          return 0;
        }
      }
    }
  }
  puts("No");
  return 0;
}