#include <iostream>
using namespace std;
int main ()
{
double a,b,c,m,d;
cin>>a>>b>>c;
m=a+b+c;
d=(a+b)*c/2;
if(a+b>c&&a+c>b&&b+c>a)
{
printf("Perimetro = %.1lf",m);
}else printf("Area = %.1lf",(a+b)*c/2);
return 0;
}