CSES - KILO 2016 5/5 - Rain Fall
  • Time limit: 1.00 s
  • Memory limit: 512 MB

Rainfall is measured in millimeters. The rain is collected in a vertical transparent tube with millimeter markings, and once the rain has stopped falling, one can check the height of the water in the tube.

In our problem, the tube unfortunately has a leak at height LL millimeters (mm). If the water level is above the leak then water drains from the tube at a rate of KK millimeters per hour (mm/h).

We want to figure out how much rain fell during a particular rainfall. We assume that the tube is high enough that it does not overflow. We also assume that rain falls at an (unknown) uniform rate during a rainfall, and that water does not evaporate from the tube. The height of the leak itself is also negligible.

Input

The input is a line with five positive numbers LL KK T1T_1 T2T_2 HH where

LL is where the leak is (mm)

KK is the rate at which water leaks (mm/h)

T1T_1 is the duration of the rainfall (h)

T2T_2 is the time between the end of rainfall and the observation of the water level (h)

HH is the water level in the tube when we observe it (mm)

Each number is at least 0.010.01 and at most 1000.01000.0, and each is given with two decimals.

Output

Output one line with two floating point numbers F1F_1 F2F_2 where F1F_1 is the smallest rainfall in millimeters that would result in the given observation, and F2F_2 is the largest rainfall in millimeters that would result in the given observation. Values with either absolute or relative error smaller than 10610^{-6} are accepted. Remember to output enough decimals

Examples

Input:

80.00 0.50 2.00 1.50 80.00

Output:

80.000000 80.759403

Input:

150.00 1.00 100.00 150.00 100.00

Output:

100.000000 100.000000