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

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