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[3002];
vector<pair<int, int> > lista;
pair<int, int> up[3002];
int u;
pair<int, int> down[3002];
int d;
bool turn(pair<int, int> a, pair<int, int> b, pair<int, int> c) {
  pair<int, int> x;
  x.first = c.first - a.first;
  x.second = c.second - a.second;
  pair<int, int> y;
  y.first = b.first - a.first;
  y.second = b.second - a.second;
  return x.first * y.second - x.second * y.first < 0;
}
void convexhull() {
  int size = lista.size();
  for (int i = 0; i < size; i++) {
    while (u > 1 && !turn(up[u - 2], up[u - 1], lista[i])) u--;
    up[u++] = lista[i];
  }
  for (int i = size - 1; i >= 0; i--) {
    while (d > 1 && !turn(down[d - 2], down[d - 1], lista[i])) d--;
    down[d++] = lista[i];
  }
}
long long dist(pair<int, int> a, pair<int, int> b) {
  return (long long)(b.first - a.first) * (b.first - a.first) +
         (long long)(b.second - a.second) * (b.second - a.second);
}
long long rotatingcalipers() {
  int k = 0;
  long long res = 0;
  for (int i = 0; i < u; i++) {
    while (k < d - 1 && dist(up[i], down[k + 1]) > dist(up[i], down[k])) {
      k++;
      res = max(res, dist(up[i], down[k]));
    }
  }
  return res;
}
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) cin >> p[i].first >> p[i].second;
  long long ini = 0;
  long long fin = 21000 * 21000;
  sort(p, p + n);
  while (fin - ini > 1) {
    long long middle = (ini + fin) / 2;
    bool t = false;
    for (int i = n - 1; i >= 0; i--) {
      lista.clear();
      u = d = 0;
      for (int j = 0; j < n; j++) {
        if (dist(p[i], p[j]) >= middle) lista.push_back(p[j]);
      }
      convexhull();
      long long res = rotatingcalipers();
      if (res >= middle) {
        t = true;
        break;
      }
    }
    if (t)
      ini = middle;
    else
      fin = middle;
  }
  printf("%.9lf\n", sqrt(ini / 4.0));
  return 0;
}