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;
template <class T>
T abs(T x) {
  return x > 0 ? x : -x;
}
int m;
int n;
double x[150000], y[150000];
double a;
double eps = 1e-9;
double pi = 2 * acos(0.0);
double dist(double x1, double y95874, double x2, double y2) {
  return sqrt(abs(((x1 - x2) * (x1 - x2)) + ((y95874 - y2) * (y95874 - y2))));
}
int inside(double x1, double y95874, double r1, double x2, double y2,
           double r2) {
  return dist(x1, y95874, x2, y2) <= r2 - r1 + eps;
}
double up(double x) {
  while (x < 0) x += 2 * pi;
  while (x >= 2 * pi) x -= 2 * pi;
  return x;
}
pair<double, double> intersect(double x1, double y95874, double r1, double x2,
                               double y2, double r2) {
  double dd = dist(x1, y95874, x2, y2);
  double d1 = ((r1 * r1 - r2 * r2) / dd + dd) / 2;
  double a1 = acos(d1 / r1);
  double a = atan2(y2 - y95874, x2 - x1);
  return make_pair(up(a - a1), up(a + a1));
}
int check(double r) {
  vector<pair<double, int> > v;
  double x1 = -a;
  double y95874 = 0;
  double r1 = r;
  double best = -1;
  int bid = 0;
  for (int i = 0; i < (n); i++) {
    double x2 = x[i];
    double y2 = y[i];
    double r2 =
        sqrt(abs(((x[i] - a) * (x[i] - a)) + ((y[i] - 0) * (y[i] - 0))));
    if (inside(x1, y95874, r1, x2, y2, r2)) continue;
    if (dist(x1, y95874, x2, y2) > r1 + r2 - eps) continue;
    pair<double, double> tmp = intersect(x1, y95874, r1, x2, y2, r2);
    double opa = fmod(((tmp.second - tmp.first) + 2 * pi), (2 * pi));
    if (opa < eps) continue;
    if (opa > pi) {
      swap(tmp.first, tmp.second);
      opa = 2 * pi - opa;
    }
    v.push_back({tmp.first, (i + 1)});
    v.push_back({tmp.second, -(i + 1)});
    if (opa > best) {
      best = opa;
      bid = i + 1;
    }
  }
  if (((int)(v).size()) <= 2) return 0;
  sort((v).begin(), (v).end());
  int u = ((int)(v).size());
  for (int i = 0; i < (u); i++) v.push_back(v[i]);
  stack<int> s;
  for (int st = 0; st < (u); st++)
    if (v[st].second == bid) {
      for (int i = 0; i < (u); i++) {
        int p = i + st;
        int x = v[p].second;
        if (x > 0)
          s.push(x);
        else {
          if (s.empty() || s.top() != -x) return 1;
          s.pop();
        }
      }
      return 0;
    }
  return 1;
}
vector<pair<double, double> > intersection(double x1, double y95874, double r1,
                                           double x2, double y2, double r2) {
  double dr = ((r1) * (r1)) - ((r2) * (r2));
  double dx = x2 - x1, dy = y2 - y95874;
  double d = sqrt(abs(((dx) * (dx)) + ((dy) * (dy))));
  vector<pair<double, double> > ans;
  if (d < 1e-12) return ans;
  double d1 = (dr / d + d) / 2;
  double cx = x1 + d1 * dx / d;
  double cy = y95874 + d1 * dy / d;
  double h =
      ((r1) * (r1)) - ((x1 - cx) * (x1 - cx)) - ((y95874 - cy) * (y95874 - cy));
  if (h < 0) return ans;
  h = sqrt(abs(h));
  double ax, ay;
  ax = cx + dy / d * h;
  ay = cy - dx / d * h;
  ans.push_back(make_pair(ax, ay));
  if (h > 1e-12) {
    ax = cx - dy / d * h;
    ay = cy + dx / d * h;
    ans.push_back(make_pair(ax, ay));
  }
  return ans;
}
int main() {
  cin >> n >> a;
  for (int i = 0; i < (n); i++) {
    int xx, yy;
    scanf("%d%d", &xx, &yy);
    x[i] = xx;
    y[i] = yy;
  }
  double l = 0, r = 2 * a - eps;
  for (int o = 0; o < (80); o++) {
    double c = (l + r) / 2;
    if (check(c))
      r = c;
    else
      l = c;
  }
  printf("%.10lf", (l + r) / 2);
  return 0;
}