You went to an exciting adventure in a deep jungle but sadly a giant captured you. The giant said that, if you can solve a simple problem it will let you go. It will give you the lengths of the three sides of a triangle. All you have to do is calculate the area of the triangle.
If the three sides of a triangle are a, b and c. Then:
$s = (a+b+c)/2$
$Area = \sqrt{s \times (s-a) \times (s-b) \times (s-c)}$
The first line of the input will contain an integer $N$. Then $N$ lines will follow. Each of the lines will have three integers $a$, $b$ and $c$.
For each test case print the area of the triangle. Two decimal digit will suffice. If the three sides don't form a triangle print "Oh, No!".
Input | Output |
---|---|
2 8 6 10 3 4 5 | 24.00 6.00 |