Marketing managers of the company Oceanic Airlines started a new advertising campaign. Its aim was to emphasize the comfort of the passengers on board. However, when the board of directors watched the
first commercial shot for the campaign, some questions appeared. The commercial ended with the catchy slogan “Oceanic Airlines. Blocked ears. Choose one of the two.” But the chief executive remembered quite well how his ears had suffered during his last business
trip to Bali with Oceanic Airlines…
According to the instructions, the airplane must climb to an altitude of h meters during the first tseconds of the flight and keep that altitude during the whole flight. The climbing
rate must not be greater than v meters per second. The plane must not descend before the planned altitude is attained.
The marketing managers wanted to know if their advertising was truthful. They found out that ears were blocked only when a plane was ascending at a rate of more than x meters per second. Help
the managers calculate the minimum and maximum amount of time during which passengers may have their ears blocked if the pilot adheres to the instructions. You may assume that the plane can change its speed instantly.
Input
The only line contains the integers h, t, v, and x (5 000 ≤ h ≤ 12 000; 50 ≤ t ≤ 1 200; 1 ≤ x <v ≤ 100; h ≤ t · v).
Output
Output two real numbers, which are the minimum and maximum numbers of seconds during which passengers may have their ears blocked. The absolute or relative error of each number should not exceed 10?6.
Sample
input |
output |
10000 500 50 10
|
125.0 500.0
|