#include <stdio.h>
#include <math.h>
int main() 
{
	int a,b,c;
	double p,cir,area;
	scanf("%d %d %d",&a,&b,&c);
	cir=a+b+c;
	p=cir/2;
	area=sqrt(p*(p-a)*(p-b)*(p-c));
	printf("circumference=%.2lf area=%.2lf",cir,area);
	return 0;
}