def area(a, b, c):
    return ((a+b)*c)/2

def perimentro(a, b, c):
    return a+b+c
    
a, b, c = map(float, input().split())
cond = True
if ((a-b) < a < (b+c)):
    if ((b-c) < b < (a+c)):
        if ((a-b) < c < (a+b)):
            print("Perimetro = {:.1f}".format(perimentro(a, b, c)))
            cond = False

if(cond):
    print("Area = {:.1f}".format(area(a, b, c)))
7e72a37e7fb21905cb6e3e8e70263cdbc61b8c6f
<mask token>


def perimentro(a, b, c):
    return a + b + c


<mask token>

def area(a, b, c):
    return (a + b) * c / 2


def perimentro(a, b, c):
    return a + b + c


<mask token>

def area(a, b, c):
    return (a + b) * c / 2


def perimentro(a, b, c):
    return a + b + c


<mask token>
if a - b < a < b + c:
    if b - c < b < a + c:
        if a - b < c < a + b:
            print('Perimetro = {:.1f}'.format(perimentro(a, b, c)))
            cond = False
if cond:
    print('Area = {:.1f}'.format(area(a, b, c)))

def area(a, b, c):
    return (a + b) * c / 2


def perimentro(a, b, c):
    return a + b + c


a, b, c = map(float, input().split())
cond = True
if a - b < a < b + c:
    if b - c < b < a + c:
        if a - b < c < a + b:
            print('Perimetro = {:.1f}'.format(perimentro(a, b, c)))
            cond = False
if cond:
    print('Area = {:.1f}'.format(area(a, b, c)))

def area(a, b, c):
    return ((a+b)*c)/2

def perimentro(a, b, c):
    return a+b+c
    
a, b, c = map(float, input().split())
cond = True
if ((a-b) < a < (b+c)):
    if ((b-c) < b < (a+c)):
        if ((a-b) < c < (a+b)):
            print("Perimetro = {:.1f}".format(perimentro(a, b, c)))
            cond = False

if(cond):
    print("Area = {:.1f}".format(area(a, b, c)))