import math a, b, c = map(int, input().split()) p = a + b + c print('circumference={:.2f} area={:.2f}'.format(p, math.sqrt(p/2*(p/2-a)*(p/2-b)*(p/2-c))))
import math a, b, c = map(int, input().split()) p = a + b + c print('circumference={:.2f} area={:.2f}'.format(p, math.sqrt(p/2*(p/2-a)*(p/2-b)*(p/2-c))))