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 GCC target("avx,sse2,sse3,sse4,popcnt")
#pragma GCC optimize("O2,O3,Ofast,inline,unroll-all-loops,-ffast-math")
using namespace std;
inline long long read() {
  long long s = 0, w = 1;
  char ch = getchar();
  for (; !isdigit(ch); ch = getchar())
    if (ch == '-') w = -1;
  for (; isdigit(ch); ch = getchar()) s = (s << 1) + (s << 3) + (ch ^ 48);
  return s * w;
}
inline void print(long long x, int op = 10) {
  if (!x) {
    putchar('0');
    if (op) putchar(op);
    return;
  }
  char F[40];
  long long tmp = x > 0 ? x : -x;
  if (x < 0) putchar('-');
  int cnt = 0;
  while (tmp > 0) {
    F[cnt++] = tmp % 10 + '0';
    tmp /= 10;
  }
  while (cnt > 0) putchar(F[--cnt]);
  if (op) putchar(op);
}
inline long long gcd(long long x, long long y) { return y ? gcd(y, x % y) : x; }
long long qpow(long long a, long long b) {
  long long ans = 1;
  while (b) {
    if (b & 1) ans *= a;
    b >>= 1;
    a *= a;
  }
  return ans;
}
long long qpow(long long a, long long b, long long mod) {
  long long ans = 1;
  while (b) {
    if (b & 1) (ans *= a) %= mod;
    b >>= 1;
    (a *= a) %= mod;
  }
  return ans % mod;
}
inline int lowbit(int x) { return x & (-x); }
const int dir[][2] = {{0, 1}, {1, 0},  {0, -1}, {-1, 0},
                      {1, 1}, {1, -1}, {-1, 1}, {-1, -1}};
const int MOD = 1e9 + 7;
const int INF = 0x3f3f3f3f;
const int N = 3000 + 7;
struct Node {
  int u, v, w;
  bool operator>(const Node A) const { return w > A.w; }
} a[N * N / 2];
pair<int, int> tmp[N];
int dis(pair<int, int> x, pair<int, int> y) {
  return (x.first - y.first) * (x.first - y.first) +
         (x.second - y.second) * (x.second - y.second);
}
bitset<N> now, vis[N];
int main() {
  int n = read();
  for (int i = 1; i <= n; ++i) tmp[i].first = read(), tmp[i].second = read();
  int cnt = 0;
  for (int i = 1; i <= n; ++i)
    for (int j = i + 1; j <= n; ++j) a[cnt++] = {i, j, dis(tmp[i], tmp[j])};
  sort(a, a + cnt, greater<Node>());
  for (int i = 0; i < cnt; ++i) {
    now = vis[a[i].u] & vis[a[i].v];
    if (now.count()) {
      printf("%.7f\n", sqrt(a[i].w) / 2);
      break;
    }
    vis[a[i].u][a[i].v] = 1;
    vis[a[i].v][a[i].u] = 1;
  }
  return 0;
}