int main()
{
int a,b,c;
scanf ("%d %d %d",&a,&b,&c);
float circumference =1.0*(a+b+c);
float p = 1.0*circumference/2;
float area =sqrt(p*(p-a)*(p-b)*(p-c));
printf ("circumference=%.2f area=%.2f",circumference,area);
return 0;
}