#include <cstdio> int main () { double A, B, C; scanf("%lf%lf%lf", &A,&B,&C); if (A+B > C && A+C > B && B+C > A) printf("Perimetro = %.1lf", A+B+C); else printf("Area = %.1lf", (A+B)*C/2); return 0; }