#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define all(t) t.begin(), t.end()
#define rall(t) t.rbegin(), t.rend()
#define forr(x, n) for (int i = x; i < n; i++)
#define ff first
#define ss second
#define pb push_back
#define nl '\n'
#define faster \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
const double PI = 3.141592653589793238462643383279502884197;
const int N = (int)1e6 + 5;
const ll inf = (ll)1e18 + 5;
const int mod = (int)1e9 + 7;
double dis(int x1, int y1, int x2, int y2){
ll x = x1-x2;
ll y = y1-y2;
return sqrt(x*x + y*y);
}
void solve(){
int n;
cin>>n;
vector<int> x(n), y(n);
for(int i = 0; i < n; i++){
cin>>x[i]>>y[i];
}
sort(all(x));
sort(all(y));
double ans = dis(x[0], y[0], x[n-1],y[n-1]);
cout<<fixed<<setprecision(10)<<ans/2<<nl;
}
int main(){
faster;
solve();
}