// question of uri 1043 Triangle
// 1043 (Mahmud_Jamil) BRUR
#include <stdio.h>
int main()
{
float a, b, c;
scanf("%f %f %f", &a, &b, &c);
if(a+b>c && a+c>b && b+c>a){
printf("Perimetro = %.1f\n", a+b+c);
}
else{
printf("Area = %.1f\n", .5*(a+b)*c);
}
return 0;
}