#include using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int N; cin >> N; vector> XY(N); long double dist1 = -1,sx = 0,sy = 0,dist2 = 0; for(auto [x,y] : XY){ cin >> x >> y; sx += x; sy += y; } sx /= N; sy /= N; for(auto [x,y] : XY) dist1 = max(dist1,(x-sx)*(x-sx)+(y-sy)*(y-sy)); sx = 0,sy = 0; for(auto [x,y] : XY){ cin >> x >> y; sx += x; sy += y; } sx /= N; sy /= N; for(auto [x,y] : XY) dist2 = max(dist2,(x-sx)*(x-sx)+(y-sy)*(y-sy)); cout << fixed << setprecision(20) << sqrt(dist2/dist1) << endl; }