import java.util.Scanner;
/*
    海伦公式求面积:
    p = (a + b + c)/2
    s = sqrt(p*(p-a)*(p-b)*(p-c))
*/
public class Main {
    
    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        double cir;
        double area;
        double p;
        cir = (double)(a + b + c);
        p = cir / 2;
        area = Math.sqrt(p*(p-a)*(p-b)*(p-c));
        System.out.println("circumference=" + String.format("%.2f",cir) + " area=" + String.format("%.2f",area));
    }
}