Skip to main content

~/algor $ cat contests/round-7/AI

AI. Area of a triangle

Problem AI ICPC rules 1000 ms 64 MB

The sides of a triangle , and are given. Find its area with Heron's formula, where is the semi-perimeter:

A triangle with sides a, b and c

Input

One line with three positive integers: , and .

Output

One number — , with exactly 2 digits after the decimal point (for example, 6.00).

Note


Such a triangle exists: the sum of any two sides is greater than the third.

Examples

Input #1
3 4 5
Output #1
6.00
Input #2
2 2 2
Output #2
1.73

Sign in to submit a solution

Signing up is free and takes a minute.