s = input().split() a = eval(s[0]) b = eval(s[1]) c = eval(s[2]) if ( a + b > c and b + c > a and c + a > b ): print ("Perimetro =", f'{a + b + c:.1f}') else: print ("Area = " + f'{(a + b) * c / 2.0:.1f}')