Problem A: Soya Milk

On the dining table we have a packet of soya milk. We can look at the packet as a rectangular box with height h, length l and width w. We tilt it against a base edge, as shown in the picture. Soya milk then comes out through the opening in the top face. This process stops when the milk level is no longer higher than the opening.

Write a program that computes the volume of soya milk remaining in the packet.

Note that the problem description may not perfectly match the real-life situation, but to solve this problem you must follow our assumptions.

Input

Each case consists of four positive integers l, w, h (in centimetres) and θ (in degrees), all strictly less than 90.

Output

For each test case, output a line containing the volume of soya milk inside the packet in millilitres, correct to 3 decimal places.

Sample Input

9 6 19 20

Sample Output

937.555 mL


Problemsetter: Mak Yan Kei