Tram#899

Tram

1 second
64 megabytes
Hard

Vasya walks home from school along an avenue where trams operate. His mother insists that he walks at least meters to benefit from the fresh air. Vasya, however, wants to reach home as quickly as possible while meeting his mother's requirement.

The avenue has tram stops located at points a_1, a_2, \ldots, a_N (all coordinates are in meters). The school is near the first stop, and his house is near the -th stop. Vasya walks at a speed of meters per minute, while the tram travels at meters per minute (tram stop times are ignored). Trams depart from the first stop at time zero and then at intervals of minutes, heading towards Vasya's home. Vasya also starts his journey at time . He can only board and alight from the tram at designated stops. If he arrives at a stop before the tram he intends to take, he must wait for it. Vasya travels only in the direction from school to home, whether walking or taking the tram.

Your task is to write a program that calculates the earliest time Vasya can reach home, having walked at least meters.

Input

First, input the number — the number of stops (1 \leq N \leq 2000). Next, input the coordinates of the stops a_1, a_2, \ldots, a_N (0 \leq a_1 < a_2 < \ldots < a_N \leq 10^9). Then, input the tram interval (1 \leq T \leq 2000). After that, input the minimum distance Vasya must walk (0 \leq K \leq 2000). Finally, input Vasya's walking speed and the tram's speed (1 \leq v \leq w \leq 10000). All numbers are integers. Note that does not exceed the total distance from school to home.

Output

On the first line, output a single number with six decimal places representing the minimum time Vasya can be at home, having walked at least meters. Then, describe Vasya's path. Number the segments between consecutive stops from to N-1 (i.e., the segment between the first and second stops is numbered , between the second and third is , and so on). The next line should contain the number of segments Vasya walked. Then, list the numbers of these segments in ascending order.

Examples

Example 1

Loading
Loading