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>
const double pi = acos(-1);
using namespace std;
inline int read() {
  int x = 0, f = 1;
  char ch = getchar();
  while (ch < '0' || ch > '9') {
    if (ch == '-') f = -1;
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    x = x * 10 + ch - '0';
    ch = getchar();
  }
  return x * f;
}
struct P {
  int x, y;
  double slop;
  P() {}
  P(int _x, int _y) : x(_x), y(_y) { slop = atan2(_y, _x); }
  int operator^(const P& b) { return x * b.y - y * b.x; }
} p[6000 + 5];
bool cmp(const P& a, const P& b) { return a.slop < b.slop; }
int X[6000 + 5], Y[6000 + 5], n, Lg[6000 + 5];
double ans = 0, f[12 + 1][6000 + 5];
inline int sqr(int x) { return x * x; }
inline double Query(int l, int r) {
  int s = Lg[r - l + 1];
  return max(f[s][l], f[s][r - (1 << s) + 1]);
}
inline double Calc(int l, int r) {
  double a = sqr(p[l].x - p[r].x) + sqr(p[l].y - p[r].y);
  return acos((f[0][l] * f[0][l] + f[0][r] * f[0][r] - a) / 2 / f[0][l] /
              f[0][r]);
}
int main() {
  n = read();
  Lg[0] = -1;
  for (int i = 1; i <= n * 2; ++i) Lg[i] = Lg[i >> 1] + 1;
  for (int i = 1; i <= n; ++i) X[i] = read(), Y[i] = read();
  for (register int ii = 1; ii <= n; ++ii) {
    int top = 0;
    for (register int j = 1; j <= n; ++j)
      if (ii != j) p[++top] = P(X[j] - X[ii], Y[j] - Y[ii]);
    sort(p + 1, p + top + 1, cmp);
    memset(f, 0, sizeof(f));
    for (register int i = 1; i <= top; ++i)
      p[i + top] = p[i],
            f[0][i + top] = f[0][i] = sqrt(sqr(p[i].x) + sqr(p[i].y));
    for (int i = 1; i <= 12; ++i)
      for (register int j = 1; j <= top << 1; ++j)
        if (j + (1 << i) - 1 <= top << 1)
          f[i][j] = max(f[i - 1][j], f[i - 1][j + (1 << i - 1)]);
    for (register int i = top + 1, j = 2, k = 2; i <= top << 1; ++i) {
      j = max(j, i - top + 1);
      k = max(k, i - top + 1);
      while (j < i && ((p[i] ^ p[j]) > 0 || p[i].slop == p[j].slop)) ++j;
      while (k < i && ((p[i] ^ p[k]) > 0 || p[i].slop == p[k].slop)) ++k;
      while (j < i && Calc(j + 1, i) >= pi / 3) ++j;
      if (f[0][i] > ans && j < i && Calc(j, i) >= pi / 3 && k <= j) {
        ans = max(ans, min(Query(k, j), f[0][i]));
      }
    }
  }
  printf("%.10lf", ans / 2);
  return 0;
}