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