
The lines x = a and y = b divide the quadrilateral with vertices , B(0, y_1), C(x_1, y_1), D(x_1, 0) into four parts. Determine the areas of the resulting regions.
A single line contains four integers , , x_1, y_1, separated by spaces. Each input value does not exceed by absolute value.
Output the area of quadrilateral first, then the areas of , , and , each separated by a space. The results must be accurate to three decimal places.
Example 1
Example 2