Standard input consists of several test cases. Each test case is represented by a line with five numbers:
-
0 < k ≤ 100 -- an integer denoting the maximum number of rinses
-
Vb > 0 -- a real number denoting the volume of available rain water in the barrel
-
Vw > 0 -- a real number denoting the volume of whiskey in the cream can
-
Vr > 0 -- a real number denoting the volume of liquid that cannot be poured out by upending the can (further liquid might be eliminated by evaporation, but there is insufficient time before Ness' visit for any evaporation to take place)
-
Vc > Vw,Vr -- a real number denoting the maximum capacity of the cream can.
A line containing 0 follows the last case.