Area of a triangle#884

Area of a triangle

1 second
128 megabytes
Medium

Given the lengths of three segments, you need to construct a triangle such that one of these segments is the height, one is the angle bisector, and one is the median, all drawn from the same vertex.

Input

Three positive real numbers separated by spaces, representing the lengths of the segments. Each segment's length is between and .

Output

Print one number — the area of the triangle (the result must be accurate to ). If it is not possible to construct such a triangle, print -1. If several triangles can be constructed with different areas, print 0.

Examples

Example 1

Loading
Loading