#include <stdio.h>
#include<math.h>
int main() {
   int a,b,c;
   scanf("%d %d %d",&a,&b,&c);
   float p = (a+b+c)/2.0;
  //运用海伦公式计算面积
   float area = sqrt(p*(p-a)*(p-b)*(p-c));
   printf("circumference=%.2f area=%.2f",(float)a+b+c,area);
    return 0;
}