海伦公式
side = [int(i) for i in input().split()]
a, b, c = side
circl = sum(side)/2
mi = circl*(circl-a)*(circl-b)*(circl-c)
S = pow(mi, 0.5)
print("circumference=%.2f area=%.2f" % (circl*2, round(S, 2)))
海伦公式
side = [int(i) for i in input().split()]
a, b, c = side
circl = sum(side)/2
mi = circl*(circl-a)*(circl-b)*(circl-c)
S = pow(mi, 0.5)
print("circumference=%.2f area=%.2f" % (circl*2, round(S, 2)))