#include<iostream>
#include<cmath>
using namespace std;
int main()
{
double A, B, C;
cin >> A >> B >> C;
printf("TRIANGULO: %.3lf\n", A*C/2.0);
printf("CIRCULO: %.3lf\n", pow(C, 2)*3.14159);
printf("TRAPEZIO: %.3lf\n", (A + B) * C/2.0);
printf("QUADRADO: %.3lf\n", pow(B, 2));
printf("RETANGULO: %.3lf\n", A * B);
return 0;
}