#include<iostream>
#include<cstdio>
using namespace std;
int main(){
double a,b,c;
cin>>a>>b>>c;
double s1,s2,s3,s4,s5;
s1=a*c/2;
s2=3.14159*c*c;
s3=(a+b)*c/2;
s4=b*b;
s5=a*b;
printf("TRIANGULO: %.3lf\n",s1);
printf("CIRCULO: %.3lf\n",s2);
printf("TRAPEZIO: %.3lf\n",s3);
printf("QUADRADO: %.3lf\n",s4);
printf("RETANGULO: %.3lf\n",s5);
return 0;
}