You are preparing for a car rally and must decide at which stations along the course to refuel.
The rules are:
The car begins at kilometer $0$ with a tank you fill for free and finishes at kilometer $D$. You may refuel at any subset of the stations, adding any amount of fuel that keeps the tank within its capacity; each refueling stop costs $T$ minutes. The total time is the driving time (the sum of $1/S$ over all $D$ kilometers) plus $T$ for every refueling stop you make.
Compute the minimum total time in which the rally can be completed.
The input contains the following integers, each on its own line, in this order: $T$, $F_{\max}$, $\Delta_F$, $S_{\max}$, $C$, $D$, $N$, and then $M_1, M_2, \ldots, M_N$.
Print one line: the minimum total time in minutes, rounded to exactly six digits after the decimal point.