Олимпиадный тренинг

Задача 38260. paver


The holidays began, and Maxim came to visit his grandparents, but not at all to the village, as you probably thought. Maxim's grandparents live in a very cultured city with legendary bad weather — it often rains here.

And now, as soon as Maxim left the station building, a downpour began. The umbrella, according to all the laws of meanness, lies at the bottom of his suitcase, and he does not want to climb after it at all. Yes, and here — There is a bus stop very close, under which you can hide from the rain. You just need to cross the street, and that's it! "It's not all that simple," — came to Maxim's mind. And indeed — does not happen.

The fact is that on the street that separates Maxim from the stop, the asphalt is being changed. The old layer of asphalt has already been removed (there are now pits, so it’s impossible to pass there), and now an asphalt paver is courageously crawling along the street, approaching Maxim, at a speed of v2 m / min, leaving behind a new, neatly laid asphalt. True, before the new asphalt can be walked on, it must cool down for T minutes. The paver has just started work, so all the asphalt behind it was poured yesterday and has already cooled down.

Of course, Maxim does not want to get wet, so he tries to get to the other side of the street as quickly as possible. He runs at a speed of v1 m/min. He also knows the width of the street — L m. Maxim can walk along the street along the sidewalk as much as he wants. He wants to be on the road as little as possible, so he only crosses the street perpendicularly.

Input
Given integers L, D, T, v1, v2 — street width, distance to the paver, time that the asphalt cools down (in minutes), Maxim's speed and the speed of the paver. (1 ≤ L ≤ 100, 1 ≤ D ≤ 100, 1 ≤ T ≤ 100, 1&thinsp ;≤ v1 ≤ 100, 1 ≤ v2 ≤ 100).

Imprint
Print one number — the time in minutes it takes Maxim to get to the other side of the street.
Examples
# Input Output
1 4 9 3 2 1 6.0
2 1 1 1 3 1 0.666666666667