Problem: You are given an integer k and n distinct points with integer coordinates on the Euclidean plane, the i-th point has coordinates (x_i, y_i).

Consider a list of all the (n(n - 1))/(2) pairs of points ((x_i, y_i), (x_j, y_j)) (1 ≤ i < j ≤ n). For every such pair, write out the distance from the line through these two points to the origin (0, 0).

Your goal is to calculate the k-th smallest number among these distances.

Input

The first line contains two integers n, k (2 ≤ n ≤ 10^5, 1 ≤ k ≤ (n(n - 1))/(2)).

The i-th of the next n lines contains two integers x_i and y_i (-10^4 ≤ x_i, y_i ≤ 10^4) — the coordinates of the i-th point. It is guaranteed that all given points are pairwise distinct.

Output

You should output one number — the k-th smallest distance from the origin. Your answer is considered correct if its absolute or relative error does not exceed 10^{-6}.

Formally, let your answer be a, and the jury's answer be b. Your answer is accepted if and only if \frac{|a - b|}{max{(1, |b|)}} ≤ 10^{-6}.

Example

Input


4 3
2 1
-2 -1
0 -1
-2 4


Output


0.707106780737

Note

There are 6 pairs of points: 

  * Line 1-2 : distance 0 from the origin 
  * Line 1-3 : distance \frac{√{2}}{2} ≈ 0.707106781 from the origin 
  * Line 1-4 : distance 2 from the origin 
  * Line 2-3 : distance 1 from the origin 
  * Line 2-4 : distance 2 from the origin 
  * Line 3-4 : distance \frac{2}{√{29}} ≈ 0.371390676 from the origin 

The third smallest distance among those is approximately 0.707106781.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
const double eps = 0.0;
template <typename T>
inline int cmpT(T x) {
  return x < 0 ? -1 : x > 0;
}
template <>
inline int cmpT(double x) {
  return x < -eps ? -1 : x > eps;
}
template <typename T>
struct VecT {
  T x = 0;
  T y = 0;
  static_assert(std::is_arithmetic<T>::value, "Should be an arithmetic type.");
  VecT() {}
  VecT(T x, T y) : x(x), y(y) {}
  VecT operator+(const VecT& rhs) const { return VecT(x + rhs.x, y + rhs.y); }
  VecT& operator+=(const VecT& rhs) {
    *this = *this + rhs;
    return *this;
  }
  VecT operator-(const VecT& rhs) const { return VecT(x - rhs.x, y - rhs.y); }
  VecT& operator-=(const VecT& rhs) {
    *this = *this - rhs;
    return *this;
  }
  VecT operator*(T t) const { return VecT(x * t, y * t); }
  VecT& operator*=(T t) {
    *this = *this * t;
    return *this;
  }
  bool operator<(const VecT& rhs) const {
    if (cmpT(x - rhs.x) == 0) return cmpT(y - rhs.y) < 0;
    return cmpT(x - rhs.x) < 0;
  }
  bool operator>(const VecT& rhs) const { return rhs < *this; }
  bool operator==(const VecT& rhs) const {
    return cmpT(x - rhs.x) == 0 && cmpT(y - rhs.y) == 0;
  }
  bool operator!=(const VecT& rhs) const { return !(*this == rhs); }
  T length_sqr() const { return x * x + y * y; }
  VecT rotate90() const { return VecT(-y, x); }
  double length() const { return hypot(x, y); }
  VecT<double> rotate(double angle) const {
    double c = cos(angle), s = sin(angle);
    return VecT<double>(x * c - y * s, x * s + y * c);
  }
  VecT<double> operator/(double t) const { return VecT<double>(x / t, y / t); }
  VecT<double>& operator/=(double t) {
    *this = *this / t;
    return *this;
  }
  template <typename U>
  VecT<U> convert() const {
    return VecT<U>(x, y);
  }
};
template <typename T>
std::string to_string(const VecT<T>& v) {
  return std::string("VecT{x=") + std::to_string(v.x) +
         ",y=" + std::to_string(v.y) + "}";
}
template <typename T>
T det(const VecT<T>& a, const VecT<T>& b) {
  return a.x * b.y - a.y * b.x;
}
template <typename T>
T dot(const VecT<T>& a, const VecT<T>& b) {
  return a.x * b.x + a.y * b.y;
}
template <typename T>
using PointT = VecT<T>;
template <typename T>
using PolygonT = std::vector<PointT<T>>;
template <typename T>
bool polar_cmp(const VecT<T>& a, const VecT<T>& b) {
  if (cmpT(a.y) * cmpT(b.y) <= 0) {
    if (cmpT(a.y) > 0 || cmpT(b.y) > 0) return cmpT(a.y - b.y) < 0;
    if (cmpT(a.y) == 0 && cmpT(b.y) == 0) return cmpT(a.x - b.x) < 0;
  }
  return cmpT(det(a, b)) > 0;
}
template <typename T>
PointT<double> intersection_line_line(const PointT<T>& p, const PointT<T>& pp,
                                      const PointT<T>& q, const PointT<T>& qq) {
  const VecT<T> u = p - q, v = pp - p, w = qq - q;
  const double ratio = det(w, u) / static_cast<double>(det(v, w));
  return PointT<double>(p.x + v.x * ratio, p.y + v.y * ratio);
}
template <typename T>
PointT<double> projection_point_line(const PointT<T>& p, const PointT<T>& a,
                                     const PointT<T>& b) {
  const VecT<T> v = b - a;
  const double ratio = dot(v, p - a) / static_cast<double>(dot(v, v));
  return PointT<double>(a.x + v.x * ratio, a.y + v.y * ratio);
}
template <typename T>
double distance_point_line(const PointT<T>& p, const PointT<T>& a,
                           const PointT<T>& b) {
  const VecT<T> v1 = b - a, v2 = p - a;
  return std::abs(det(v1, v2)) / v1.length();
}
template <typename T>
double distance_point_segment(const PointT<T>& p, const PointT<T>& a,
                              const PointT<T>& b) {
  if (a == b) return (p - a).length();
  const VecT<T> v1 = b - a, v2 = p - a, v3 = p - b;
  if (cmpT(dot(v1, v2)) < 0)
    return v2.length();
  else if (cmpT(dot(v1, v3)) > 0)
    return v3.length();
  else
    return std::abs(det(v1, v2)) / v1.length();
}
template <typename T>
bool has_proper_intersection_segment_segment(const PointT<T>& a1,
                                             const PointT<T>& a2,
                                             const PointT<T>& b1,
                                             const PointT<T>& b2) {
  T c1 = det(a2 - a1, b1 - a1), c2 = det(a2 - a1, b2 - a1),
    c3 = det(b2 - b1, a1 - b1), c4 = det(b2 - b1, a2 - b1);
  return cmpT(c1) * cmpT(c2) < 0 && cmpT(c3) * cmpT(c4) < 0;
}
template <typename T>
bool on_point_segment(const PointT<T>& p, const PointT<T>& a1,
                      const PointT<T>& a2) {
  return cmpT(det(a1 - p, a2 - p)) == 0 && cmpT(dot(a1 - p, a2 - p)) <= 0;
}
template <typename T>
bool has_intersection_segment_segment(const PointT<T>& a1, const PointT<T>& a2,
                                      const PointT<T>& b1,
                                      const PointT<T>& b2) {
  if (has_proper_intersection_segment_segment(a1, a2, b1, b2)) return true;
  return on_point_segment(a1, b1, b2) || on_point_segment(a2, b1, b2) ||
         on_point_segment(b1, a1, a2) || on_point_segment(b2, a1, a2);
}
template <typename T>
bool in_point_polygon(const PointT<T>& o, const PolygonT<T>& poly, bool flag) {
  int t = 0;
  PointT<T> a, b;
  const int n = poly.size();
  for (int i = 0; i < n; ++i)
    if (on_point_segment(o, poly[i], poly[(i + 1) % n])) return flag;
  for (int i = 0; i < n; ++i) {
    a = poly[i];
    b = poly[(i + 1) % n];
    if (cmpT(a.y - b.y) > 0) std::swap(a, b);
    if (cmpT(det(a - o, b - o)) < 0 && cmpT(a.y - o.y) < 0 &&
        cmpT(o.y - b.y) <= 0)
      ++t;
  }
  return t & 1;
}
inline int dcmp(double x) { return cmpT(x); }
using LL = long long;
const int kN = 100000 + 5;
int n;
LL k;
PointT<int> points[kN];
LL binom(int a, int b) {
  if (a < b || b < 0) return 0;
  LL ret = 1;
  for (int i = 1; i <= b; ++i) ret = ret * (a + 1 - i) / i;
  return ret;
}
using Point = PointT<double>;
struct Fenwick {
  std::vector<int> c;
  Fenwick(int n) : c(n) {}
  void update(int p, int dt) {
    for (int i = p; i < c.size(); i += ~i & i + 1) c[i] += dt;
  }
  int query(int p) const {
    int ret = 0;
    for (int i = p; i >= 0; i -= ~i & i + 1) ret += c[i];
    return ret;
  }
};
bool gao(double r) {
  int inner = 0;
  std::vector<Point> lp, rp;
  lp.reserve(n);
  rp.reserve(n);
  for (int i = 0; i < n; ++i) {
    const double d = points[i].length();
    if (dcmp(d - r) <= 0) {
      ++inner;
      continue;
    }
    const double theta = acos(r / d);
    const Point u = points[i].convert<double>() * (r / d);
    lp.emplace_back(u.rotate(-theta));
    rp.emplace_back(u.rotate(theta));
  }
  std::vector<Point> pts;
  pts.reserve(lp.size() + rp.size());
  pts.insert(pts.end(), lp.begin(), lp.end());
  pts.insert(pts.end(), rp.begin(), rp.end());
  std::sort(pts.begin(), pts.end(), polar_cmp<double>);
  int m = pts.size();
  std::vector<std::vector<int>> segments(m), events(m);
  auto get = [&pts](const Point& p) {
    return std::lower_bound(pts.begin(), pts.end(), p, polar_cmp<double>) -
           pts.begin();
  };
  for (int i = 0; i < lp.size(); ++i) {
    segments[get(lp[i])].emplace_back(get(rp[i]));
  }
  Fenwick bit(m + m);
  for (int i = 0; i < m; ++i) {
    for (int e : segments[i]) {
      if (e < i) {
        bit.update(i, 1);
        events[e].emplace_back(i);
      }
    }
  }
  LL bad = 0;
  for (int i = 0; i < m; ++i) {
    for (int e : events[i]) {
      bit.update(e, -1);
    }
    for (int e : events[i]) {
      bad += bit.query(i + m) - bit.query(e);
    }
    events[i].clear();
    for (int e : segments[i]) {
      bit.update(i + m, 1);
      events[e].emplace_back(i + m);
    }
  }
  int outer = n - inner;
  LL cnt = outer * 1LL * inner + binom(inner, 2) + binom(outer, 2) - bad;
  return cnt >= k;
}
double solve() {
  double l = 0.0, r = 15000.0;
  while (r - l > 5e-7) {
    double mid = (l + r) * 0.5;
    if (gao(mid))
      r = mid;
    else
      l = mid;
  }
  return (l + r) * 0.5;
}
int main() {
  scanf("%d%lld", &n, &k);
  for (int i = 0; i < n; ++i) {
    scanf("%d%d", &points[i].x, &points[i].y);
  }
  printf("%.13f\n", solve());
}