#include <cstdio>
#include <algorithm>
#include <string>
#include <cmath>
#include <iostream>
using namespace std;
#define pb push_back
typedef long long ll;
const int N=5e4+5;
const double eps=1e-8;
double x[N],y[N];
int n;
double get_distance(int i,double xx)
{
return sqrt(y[i]*y[i]+(x[i]-xx)*(x[i]-xx));
}
double f(double xx)
{
double ans=0.0;
for(int i=0; i<n; i++)
ans=max(ans,get_distance(i,xx));
return ans;
}
double three(double l,double r)
{
while(l+eps<=r)
{
double m1=(r+l)/2,m2=(m1+r)/2;
double res1=f(m1),res2=f(m2);
if(res1<=res2)r=m2;
else l=m1;
}
printf("%f %f\n",l,f(l));
}
int main()
{
double l, r;
while(scanf("%d",&n)&&n)
{
scanf("%lf%lf",&x[0],&y[0]);
l=r=x[0];
for(int i=1; i<n; i++)
{
scanf("%lf%lf",&x[i],&y[i]);
l=min(l,x[i]),r=max(r,x[i]);
}
three(l,r);
}
}