#include<stdio.h>
#include<algorithm>
#include<math.h>
using namespace std;
double ABS(double a){return max(a,-a);}
double x[5];
double y[5];
double EPS=1e-9;
double PI=acos(-1.0);
int main(){
	while(1){
		for(int i=0;i<3;i++)scanf("%lf%lf",x+i,y+i);
		double gm=0;
		for(int i=0;i<3;i++)gm+=ABS(x[i])+ABS(y[i]);
		if(gm<EPS)break;
		double l1=sqrt((x[0]-x[1])*(x[0]-x[1])+(y[0]-y[1])*(y[0]-y[1]));
		double l2=sqrt((x[0]-x[2])*(x[0]-x[2])+(y[0]-y[2])*(y[0]-y[2]));
		double th=atan2(y[2]-y[0],x[2]-x[0])-atan2(y[1]-y[0],x[1]-x[0]);
		if(th<-PI)th+=PI*2;
		if(th>PI)th-=PI*2;
		if(th<0){
			th=-th;
		}
		double t2=atan2(y[2]-y[1],x[2]-x[1])-atan2(y[0]-y[1],x[0]-x[1]);
		double t3=atan2(y[0]-y[2],x[0]-x[2])-atan2(y[1]-y[2],x[1]-x[2]);
		
		if(t2<-PI)t2+=PI*2;
		if(t2>PI)t2-=PI*2;
		if(t2<0)t2=-t2;
		if(t3<-PI)t3+=PI*2;
		if(t3>PI)t3-=PI*2;
		if(t3<0)t3=-t3;
	//	printf("%f %f %f ",th,t2,t3);
		//printf("%f %f\n",l1,l2);
		
		double L=0;
		double R=10000;
		double R2,R3;
		for(int i=0;i<50;i++){
			double M=(L+R)/2;
			double X1=M/tan(th/2);
			double Y1=M;
			if(X1>l1||X1>l2){
				R=M;continue;
			}
			double left=0;
			double right=100000000;
			double X2,Y2;
			for(int j=0;j<50;j++){
				double md=(left+right)/2;
				X2=l1-md/tan(t2/2);
				Y2=md;
				//printf("%f %f %f\n",X1,X2,Y2);
				if(X2<X1){right=md;continue;}
				if((X1-X2)*(X1-X2)+(Y1-Y2)*(Y1-Y2)>(M+md)*(M+md))left=md;
				else right=md;
			}
			R2=right;
			double X3,Y3;
			left=0;right=100000000;
			for(int j=0;j<50;j++){
				double md=(left+right)/2;
				X3=l2-md/tan(t3/2);
				Y3=md;
				if(X3<X1){right=md;continue;}
				if((X1-X3)*(X1-X3)+(Y1-Y3)*(Y1-Y3)>(M+md)*(M+md))left=md;
				else right=md;
			}
			R3=right;
			double xf=X3*cos(th/2)+Y3*sin(th/2);
			double yf=X3*sin(th/2)-Y3*cos(th/2);
			X3=xf*cos(th/2)-yf*sin(th/2);
			Y3=xf*sin(th/2)+yf*cos(th/2);
		//	if(Y3<Y2){R=M;continue;}
			//printf("(%f %f), (%f %f), (%f %f)\n",X1,Y1,X2,Y2,X3,Y3);
			if((X2-X3)*(X2-X3)+(Y2-Y3)*(Y2-Y3)>(R2+R3)*(R2+R3))R=M;
			else L=M;
		}
		printf("%.5f %.5f %.5f\n",R,R2,R3);
	}
}