Journey in Fog
Julia and Jane are two friends living at the opposite ends of a long narrow street of length .
Today, Julia needs to meet Jane and return home as soon as possible.
Jane has a list of speeds . At time , Jane picks an integer from to uniformly at random, and starts moving towards Julia at a constant speed of .
Julia is not as restricted in her movements, though. Starting from time , Julia can freely move along the street in any direction at any speed not exceeding . In particular, Julia can stay at the same place as long as she wants, move at speeds lower than , and change her speed at any moment.
It's foggy outside. Hence, Julia and Jane can not see each other unless they are at the same point of the street. Also note that Julia does not know Jane's speed, but she knows the list .
Suppose Julia meets Jane and arrives back home at time . Julia will follow a strategy that minimizes the expected value of . Find that expected value.
Input
The first line contains three integers , , and — the number of speeds on Jane's list, the length of the street, and Julia's maximum speed (; ; ).
The second line contains integers — the list of possible speeds of Jane in ascending order ().
Output
Print a single real number — the expected amount of time it will take Julia to meet Jane and return back home, if she follows an optimal strategy. Your answer will be considered correct if its absolute or relative error doesn't exceed .
Examples
Note
In the first example test, Julia is much faster than Jane. It's best for Julia to move towards Jane as fast as she can, meet her at time at distance away from home, and return back home at time .
In the second example test, Jane is much faster than Julia. It's best for Julia to just wait for Jane at home, where Jane will arrive at time .