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

int main() 
{
    int a,b,c;
    scanf("%d %d %d",&a,&b,&c);
    float C = a+b+c;
    float S = sqrt((C/2)*(C/2-a)*(C/2-b)*(C/2-c));    //海伦公式
    printf("circumference=%.2f area=%.2f",C,S);

    return 0;
}