Problem: Many schoolchildren look for a job for the summer, and one day, when Gerald was still a schoolboy, he also decided to work in the summer. But as Gerald was quite an unusual schoolboy, he found quite unusual work. A certain Company agreed to pay him a certain sum of money if he draws them three identical circles on a plane. The circles must not interfere with each other (but they may touch each other). He can choose the centers of the circles only from the n options granted by the Company. He is free to choose the radius of the circles himself (all three radiuses must be equal), but please note that the larger the radius is, the more he gets paid. 

Help Gerald earn as much as possible.

Input

The first line contains a single integer n — the number of centers (3 ≤ n ≤ 3000). The following n lines each contain two integers xi, yi ( - 104 ≤ xi, yi ≤ 104) — the coordinates of potential circle centers, provided by the Company.

All given points are distinct.

Output

Print a single real number — maximum possible radius of circles. The answer will be accepted if its relative or absolute error doesn't exceed 10 - 6.

Examples

Input

3
0 1
1 0
1 1


Output

0.50000000000000000000


Input

7
2 -3
-2 -3
3 0
-3 -1
1 -2
2 -2
-1 0


Output

1.58113883008418980000

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
int N;
pair<int, int> P[3030];
pair<double, double> Q[3030];
inline double adist(double a, double b) {
  double d = max(a - b, b - a);
  return min(d, 2 * (acos(-1.0)) - d);
}
int main() {
  cin >> N;
  for (int i = 0; i < N; i++) cin >> P[i].first >> P[i].second;
  double best = 0;
  for (int i = 0; i < N; i++) {
    for (int j = 0; j < i; j++) {
      Q[j].first =
          -(sqrt(((P[i].first - P[j].first) * (P[i].first - P[j].first)) +
                 ((P[i].second - P[j].second) * (P[i].second - P[j].second))));
      Q[j].second = atan2(P[j].second - P[i].second, P[j].first - P[i].first);
    }
    for (int j = i + 1; j < N; j++) {
      Q[j - 1].first =
          -(sqrt(((P[i].first - P[j].first) * (P[i].first - P[j].first)) +
                 ((P[i].second - P[j].second) * (P[i].second - P[j].second))));
      Q[j - 1].second =
          atan2(P[j].second - P[i].second, P[j].first - P[i].first);
    }
    sort(Q, Q + N - 1);
    int f = 0, b = 0;
    double t = (acos(-1.0)) / 3.0;
    if (adist(Q[0].second, Q[1].second) > t)
      best = max(best, -Q[1].first);
    else {
      double left = Q[0].second;
      double right = Q[1].second;
      for (int j = 2; j < N - 1; j++) {
        double L = adist(left, Q[j].second);
        double R = adist(right, Q[j].second);
        double S = adist(left, right);
        if (L > t || R > t) {
          best = max(best, -Q[j].first);
          break;
        }
        if (-1e-8 <= L + R - S && L + R - S <= 1e-8) continue;
        if (L > R)
          right = Q[j].second;
        else
          left = Q[j].second;
      }
    }
  }
  printf("%.9f", best / 2.0);
  return 0;
}