#include<stdio.h>#include<math.h>int main(){float a,b,c,l,s;scanf("%f,%f,%f",&a,&b,&c);l=(a+b+c)/2;s=l*(l-a)*(l-b)*(l-c);s=sprt(s);printf("%f",s);return 0;}