s=input().split(' ')
a=int(s[0])
b=int(s[1])
c=int(s[2])
if (a + b > c) & (a + c > b) & (b + c > a):
d=(a+b+c)
p=d/2
s = (p*(p-a)*(p-b)*(p-c))**0.5
print('circumference={:.2f} area={:.2f}'.format(d,s))
a,b,c = input().split(' ')
a = int(a)
b = int(b)
c = int(c)
d = a + b + c
p = d/2
s = (p*(p-a)*(p-b)*(p-c))**0.5 #根据海伦公式,计算三角形的面积
print("circumference={:.2f} area={:.2f}".format(d,s))