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

int main() {
    int a, b, c;
    float circumference, area, p;
    scanf("%d %d %d", &a, &b, &c);
    circumference = a + b + c;
    p = circumference / 2;
    area = sqrt(p * (p - a) * (p - b) * (p - c));
    printf("circumference=%.2f area=%.2f", circumference, area);
    return 0;
}