#include <iostream>
using namespace std;
#include <iostream>
#include <iomanip>
#include <math.h>
int main(int argc, char** argv) {
double pi = 3.14159;
double a, b, c;
double area_triangulo, area_circulo, area_trapezio,
area_quadrado,area_retangulo;
std::cin >> a >> b >> c;
area_triangulo = a * c / 2;
area_circulo = pi * pow(c, 2);
area_trapezio = ((a + b)* c)/2;
area_quadrado = pow(b, 2);
area_retangulo = a * b;
std::cout << std::fixed << std::setprecision(3);
std::cout << "TRIANGULO: " <<area_triangulo << std::endl;
std::cout << "CIRCULO: " <<area_circulo << std::endl;
std::cout << "TRAPEZIO: " <<area_trapezio << std::endl;
std::cout << "QUADRADO: " <<area_quadrado << std::endl;
std::cout << "RETANGULO: " <<area_retangulo << std::endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwojaW5jbHVkZSA8aW9zdHJlYW0+CiNpbmNsdWRlIDxpb21hbmlwPgojaW5jbHVkZSA8bWF0aC5oPgoKaW50IG1haW4oaW50IGFyZ2MsIGNoYXIqKiBhcmd2KSB7Cglkb3VibGUgcGkgPSAzLjE0MTU5OwoJZG91YmxlIGEsIGIsIGM7Cglkb3VibGUgYXJlYV90cmlhbmd1bG8sIGFyZWFfY2lyY3VsbywgYXJlYV90cmFwZXppbywKCSAgICAgICBhcmVhX3F1YWRyYWRvLGFyZWFfcmV0YW5ndWxvOwoKCXN0ZDo6Y2luID4+IGEgPj4gYiA+PiBjOwoKCWFyZWFfdHJpYW5ndWxvID0gYSAqIGMgLyAyOwoJYXJlYV9jaXJjdWxvID0gcGkgKiBwb3coYywgMik7CglhcmVhX3RyYXBlemlvID0gKChhICsgYikqIGMpLzI7CglhcmVhX3F1YWRyYWRvID0gcG93KGIsIDIpOwoJYXJlYV9yZXRhbmd1bG8gPSBhICogYjsKCglzdGQ6OmNvdXQgPDwgc3RkOjpmaXhlZCA8PCBzdGQ6OnNldHByZWNpc2lvbigzKTsKCXN0ZDo6Y291dCA8PCAiVFJJ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