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