Drawing Marbles#4078

Drawing Marbles

1 second
128 megabytes
Easy

A big box contains marbles of one or more colors. You're given the number of marbles of each color. You draw marbles randomly from the box, leaving each marble outside the box after taking it. Find the probability that all marbles drawn will be the same color.

Input

Consists of multiple test cases. The first line of each test case contains the number of colors (1 \le \text{col} \le 50) and the number . The second line contains integers c_1, c_2, , c_{\text{col}}, where c_i (1 \le c_i \le 50) is the number of marbles of color . It is known that 1 \le n \le c_1 + c_2 + \ldots + c_{\text{col}}.

Output

For each test case print on a separate line the probability that all marbles drawn will be the same color. Print the probabilities with digits after the decimal point.

Examples

Example 1

Loading
Loading