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