#include <iostream>

#include <cmath>



using namespace std;



int main(){

	int n;

	double r,a,b,x[3],y[3];

	while(n){

	cin >> x[1] >> y[1] >> x[2] >> y[2] >> x[3] >> y[3];

	/*ツづ慊つクツづ債青板値ツづ個計ツ算*/

	a=((y[1]-y[3])*(y[1]*y[1]-y[2]*y[2]+x[1]*x[1]-x[2]*x[2])-(y[1]-y[2])*(y[1]*y[1]-y[3]*y[3]+x[1]*x[1]-x[3]*x[3]))/(2*(y[1]-y[3])*(x[1]-x[2])-2*(y[1]-y[2])*(x[1]-x[3]));

	b=((x[1]-x[3])*(x[1]*x[1]-x[2]*x[2]+y[1]*y[1]-y[2]*y[2])-(x[1]-x[2])*(x[1]*x[1]-x[3]*x[3]+y[1]*y[1]-y[3]*y[3]))/(2*(x[1]-x[3])*(y[1]-y[2])-2*(x[1]-x[2])*(y[1]-y[3]));

	r=sqrt((x[1]-a)*(x[1]-a)+(y[1]-b)*(y[1]-b));

	printf("%.3f %.3f %.3f\n",a,b,r);

	}

}