#include <stdio.h>
#include <math.h>

int main()
{
    double a = 0;
    double b = 0;
    double c = 0;
    //输入
    scanf("%lf %lf %lf", &a, &b, &c);
    //计算 - 海伦公式
    double p = (a + b + c) / 2.0;
    double C = a + b + c;
    double S = sqrt(p * (p - a) * (p - b) * (p - c));
    //输出
    printf("circumference=%.2lf area=%.2lf\n", C, S);

    return 0;
}