#include<iostream>
#include<cmath>
#include<cstdio>
using namespace std;
#define sqr(x) (x)*(x)
int main(){
  int n;cin>>n;
  double x[3],y[3];
  double px,py,a,b,c,co,si,r;
  for(int i=0;i<3;i++)
    cin>>x[i]>>y[i];
  a=sqrt((sqr(x[1]-x[0])+sqr(y[1]-y[0])));
  b=sqrt((sqr(x[2]-x[1])+sqr(y[2]-y[1])));
  c=sqrt((sqr(x[0]-x[2])+sqr(y[0]-y[2])));
  //cout<<a<<" "<<b<<" "<<c<<endl;
  co=((a*a)-(b*b)-(c*c))/(2*b*c);
  si=sqrt((1-(sqr(co))));
  //cout<<co<<" "<<si<<endl;
  r=a/(si*2.0);
  px=((y[2]-y[1])*(sqr(x[1])+sqr(y[1])-sqr(x[0])-sqr(y[0]))+(y[0]-y[1])*(sqr(x[2])+sqr(y[2])-sqr(x[1])-sqr(y[1])))/(2*((x[1]-x[0])*(y[2]-y[1])-(y[1]-y[0])*(x[2]-x[1])));
  py=((x[1]-x[2])*(sqr(x[1])+sqr(y[1])-sqr(x[0])-sqr(y[0]))+(x[1]-y[0])*(sqr(x[2])+sqr(y[2])-sqr(x[1])-sqr(y[1])))/(2*((x[1]-x[0])*(y[2]-y[1])-(y[1]-y[0])*(x[2]-x[1])));
  printf("%.3lf %.3lf %.3lf\n",px,py,r);
  return 0;
}