importjava.io.BufferedReader;
importjava.io.IOException;
importjava.io.InputStreamReader;
/**
*@author枳洛淮南
*@version1.0
*@Description牛客0321
*@Date/3/21下午23:47
*/
publicclassMain
{
publicstaticvoidmain(String[]args)throwsIOException
{
BufferedReaderbr=newBufferedReader(newInputStreamReader(System.in));
Stringa=String.valueOf(br.readLine());
String[]str=a.split("");
doublec=Integer.parseInt(str[0])+Integer.parseInt(str[1])
+Integer.parseInt(str[2]);
doublep=(Integer.parseInt(str[0])+Integer.parseInt(str[1])+Integer.parseInt(str[2])
)/2.0;
doubles=Math.pow((p*(p-Integer.parseInt(str[0]))*(p-Integer.parseInt(str[1]))*(p-Integer.parseInt(str[2]))),0.5);
System.out.printf("circumference=%.2farea=%.2f",c,s);
}
}