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>
#pragma comment(linker, "/STACK:200000000")
using namespace std;
template <typename T>
inline T Abs(T x) {
  return (x >= 0) ? x : -x;
}
template <typename T>
inline T sqr(T x) {
  return x * x;
}
template <typename T>
inline string toStr(T x) {
  stringstream st;
  st << x;
  string s;
  st >> s;
  return s;
}
template <typename T>
inline int bit(T mask, int b) {
  return (b >= 0 && (mask & (T(1) << b)) != 0) ? 1 : 0;
}
inline int nextInt() {
  int x;
  if (scanf("%d", &x) != 1) throw;
  return x;
}
inline long long nextInt64() {
  long long x;
  if (scanf("%lld", &x) != 1) throw;
  return x;
}
inline double nextDouble() {
  double x;
  if (scanf("%lf", &x) != 1) throw;
  return x;
}
const int INF = (int)1E9;
const long long INF64 = (long long)1E18;
const long double EPS = 1E-9;
const long double PI = 3.1415926535897932384626433832795;
const int MAXN = 3100;
const int X = 60;
int n, x[MAXN], y[MAXN];
bitset<MAXN> d[MAXN];
inline int dist(int i, int j) { return sqr(x[i] - x[j]) + sqr(y[i] - y[j]); }
int main() {
  n = nextInt();
  for (int i = 0; i < (int)(n); i++) {
    x[i] = nextInt();
    y[i] = nextInt();
  }
  vector<pair<int, pair<int, int> > > p;
  for (int i = 0; i < (int)(n); i++)
    for (int j = 0; j < (int)(i); j++)
      p.push_back(make_pair(dist(i, j), make_pair(i, j)));
  sort((p).rbegin(), (p).rend());
  for (int i = 0; i < (int)(p.size()); i++) {
    int v = p[i].second.second;
    int u = p[i].second.first;
    d[v].set(u);
    d[u].set(v);
    bitset<MAXN> t = d[v];
    t &= d[u];
    if (t.count() != 0) {
      cout.precision(15);
      cout << fixed << sqrt(p[i].first + 0.0) / 2 << endl;
      return 0;
    }
  }
  return 0;
}