e-olymp
Competitions

WEEK5 GEOMETRY

The heights of the triangle

Find the heights of the triangle with sides a, b, c.

Input

In a single line three positive integers a, b, c are given - the lengths of the sides of a triangle. All numbers are separated with one space and do not exceed 100.

Output

Print the heights of the triangle ha, hb, hc with two digits after the decimal point, separated with one space.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3 4 5
Output example #1
4.00 3.00 2.40