Problem: After a drawn-out mooclear arms race, Farmer John and the Mischievous Mess Makers have finally agreed to establish peace. They plan to divide the territory of Bovinia with a line passing through at least two of the n outposts scattered throughout the land. These outposts, remnants of the conflict, are located at the points (x1, y1), (x2, y2), ..., (xn, yn).

In order to find the optimal dividing line, Farmer John and Elsie have plotted a map of Bovinia on the coordinate plane. Farmer John's farm and the Mischievous Mess Makers' base are located at the points P = (a, 0) and Q = ( - a, 0), respectively. Because they seek a lasting peace, Farmer John and Elsie would like to minimize the maximum difference between the distances from any point on the line to P and Q.

Formally, define the difference of a line <image> relative to two points P and Q as the smallest real number d so that for all points X on line <image>, |PX - QX| ≤ d. (It is guaranteed that d exists and is unique.) They wish to find the line <image> passing through two distinct outposts (xi, yi) and (xj, yj) such that the difference of <image> relative to P and Q is minimized.

Input

The first line of the input contains two integers n and a (2 ≤ n ≤ 100 000, 1 ≤ a ≤ 10 000) — the number of outposts and the coordinates of the farm and the base, respectively.

The following n lines describe the locations of the outposts as pairs of integers (xi, yi) (|xi|, |yi| ≤ 10 000). These points are distinct from each other as well as from P and Q.

Output

Print a single real number—the difference of the optimal dividing line. Your answer will be considered correct if its absolute or relative error does not exceed 10 - 6. 

Namely: let's assume that your answer is a, and the answer of the jury is b. The checker program will consider your answer correct, if <image>.

Examples

Input

2 5
1 0
2 1


Output

7.2111025509


Input

3 6
0 1
2 5
0 -3


Output

0.0000000000

Note

In the first sample case, the only possible line <image> is y = x - 1. It can be shown that the point X which maximizes |PX - QX| is (13, 12), with <image>, which is <image>.

In the second sample case, if we pick the points (0, 1) and (0, - 3), we get <image> as x = 0. Because PX = QX on this line, the minimum possible difference is 0.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const int N = 500100;
const double eps = 1e-12, pi = 2 * acos(-1);
inline int read() {
  int x = 0, c = getchar(), f = 0;
  for (; c > '9' || c < '0'; f = c == '-', c = getchar())
    ;
  for (; c >= '0' && c <= '9'; c = getchar()) x = (x << 1) + (x << 3) + c - '0';
  return f ? -x : x;
}
int n, tp;
double a, ans;
struct Pt {
  double x, y, r;
} p[N], P, Q;
inline Pt operator-(Pt i, Pt j) { return (Pt){i.x - j.x, i.y - j.y}; }
inline double sqr(double x) { return x * x; }
inline double dis(Pt x, Pt y) { return sqrt(sqr(y.x - x.x) + sqr(y.y - x.y)); }
struct cqz {
  double l, r;
} q[N];
inline bool operator<(cqz i, cqz j) {
  return fabs(i.l - j.l) < eps ? i.r < j.r : i.l < j.l;
}
set<double> g;
set<double>::iterator it;
bool fuck(double md) {
  register int i;
  double l, r, x, d;
  tp = 0;
  for (i = 1; i <= n; i++) {
    d = dis(p[i], Q);
    x = p[i].r;
    if (md > x + d || x > md + d || d > x + md) continue;
    tp++;
    x = atan2(p[i].y - Q.y, p[i].x - Q.x);
    d = acos((sqr(d) + sqr(md) - sqr(p[i].r)) / 2 / d / md);
    l = x - d;
    r = x + d;
    while (l < 0) l += pi;
    while (l > pi) l -= pi;
    while (r > pi) r -= pi;
    while (r < 0) r += pi;
    if (l > r) swap(l, r);
    q[tp].l = l;
    q[tp].r = r;
  }
  sort(q + 1, q + tp + 1);
  g.clear();
  for (i = 1; i <= tp; i++) {
    it = g.upper_bound(q[i].l);
    if (it != g.end() && *it < q[i].r + eps) return 1;
    g.insert(q[i].r);
  }
  return 0;
}
int main() {
  register int i, j;
  double l, r;
  n = read();
  a = read();
  P.x = -a;
  Q.x = a;
  for (i = 1; i <= n; i++) {
    p[i].x = read(), p[i].y = read();
    p[i].r = dis(p[i], P);
  }
  l = 0;
  r = 2 * a;
  for (i = 1; i <= 50; i++)
    if (fuck((l + r) / 2))
      r = (l + r) / 2;
    else
      l = (l + r) / 2;
  printf("%.10lf\n", r);
  return 0;
}