#include<iostream>
#include<cstdio>
using namespace std;
int main(){
double A,B,C; //float有效数字只有6-7位,必须使用double
cin >> A >> B >> C;
printf("TRIANGULO: %.3f\n",A*C/2.0);
printf("CIRCULO: %.3f\n",3.14159*C*C);
printf("TRAPEZIO: %.3f\n",(A+B)*C/2);
printf("QUADRADO: %.3f\n",B*B);
printf("RETANGULO: %.3f\n",A*B);
return 0;
}