a, b, c = map(float, input().split())
cir = a + b + c
p = cir / 2
s = (p * (p - a) * (p - b) * (p - c)) ** 0.5
print("circumference={:.2f} area={:.2f}".format(cir, s))