Math lesson
Today Krosh learned about the geometric mean of numbers. The geometric mean of two positive numbers x and y is sqrt(x * y). Denote the geometric mean of the numbers x and y as g(x, y).
Krosh had three positive real numbers a, b and c. He used them to practice calculating geometric averages. He calculated and wrote down the numbers g(a, b), g(a, c) and g(b, c).
Some time later, Krosh saw the recorded values of the geometric mean. And now he wants to remember what numbers a, b and c he had. Help him find any suitable positive numbers a, b and c.
Input
The first line contains the value of the geometric mean of numbers a and b, in other words - g(a, b). The second line contains the number g(a, c). The third line contains the number g(b, c).
All three numbers are real, positive, do not exceed 10^9
and contain no more than 6 digits after the decimal point.
Output
Print any suitable positive numbers a, b and c. The jury will calculate the geometric mean of your numbers. The answer will be considered correct if the absolute or relative error of each of the averages does not exceed 10^(-6)
.
It can be proved that for any input that satisfies the constraints, a solution exists.