// question of uri 1012 Area |
#include <stdio.h>
#include <math.h>
int main()
{
double A,B,C,d,e,f,g,h,pi=3.14159;
scanf("%lf %lf %lf",&A,&B,&C);
d=.5*A*C;
e=pi*C*C;
f=.5*C*(A+B);
g=B*B;
h=A*B;
printf("TRIANGULO: %.3lf\n",d);
printf("CIRCULO: %.3lf\n",e);
printf("TRAPEZIO: %.3lf\n",f);
printf("QUADRADO: %.3lf\n",g);
printf("RETANGULO: %.3lf\n",h);
return 0;
}