import math a, b, c = map(int, input().strip().split(',')) h = (a + b + c) * 1.0 / 2 area = math.sqrt(h * (h-a) * (h-b) * (h-c)) print("%.2f" % area)