#include <stdio.h>
#include <math.h>
int main()
{
  //运用 海伦公式 和开平方函数
	while (1)
	{
        float a = 0;
        float b = 0;
        float c = 0;
        float area = 0;
        float d = 0;
        scanf("%f %f %f", &a, &b, &c);
        if (a + b > c && a + c > b && b + c > a)
        {
            d = (a + b + c) / 2;
            area = sqrt(d * (d - a) * (d - b) * (d - c));
            printf("circumference=%.2f area=%.2f", a + b + c, area);
        }
        break;
	}
    return 0;
}