#include <bits/stdc++.h>
using namespace std;
using ll = int_fast64_t;
int main() {
  cout.precision(10);
  cout << fixed;
  int n;
  cin >> n;
  vector<pair<int, int> > a(n);
  for (int i = 0; i < n; ++i) {
    cin >> a[i].first >> a[i].second;
  }
  random_shuffle(a.begin(), a.end());
  double ans = 0;
  static double len[3000][3000];
  for (int i = 0; i < n; ++i) {
    for (int j = i + 1; j < n; ++j) {
      len[j][i] = len[i][j] =
          sqrt((a[i].first - a[j].first) * (a[i].first - a[j].first) +
               (a[i].second - a[j].second) * (a[i].second - a[j].second));
    }
  }
  for (int i = 0; i < n; ++i) {
    for (int j = i + 1; j < n; ++j) {
      if (len[i][j] < ans) continue;
      for (int k = j + 1; k < n; ++k) {
        ans = max(ans, min({len[i][j], len[i][k], len[j][k]}));
        if (clock() > 4.0 * CLOCKS_PER_SEC) {
          cout << ans / 2.0;
          return 0;
        }
      }
    }
  }
  cout << ans / 2.0;
  return 0;
}
