Alex learned about a new data structure: a hash table with open addressing. Hash table with open addressing consists of cells numbered from to . Each of them may be empty, or storing a value. When you insert a new value, its hash is calculated — random number from to (let's call it ) — after which, if the cell under number is empty, the value is written into it. Otherwise, if the cell h + 1 is empty, the value is written into it, and otherwise it checks h + 2, h + 3 and so on. If the search has reached the -th cell, and it is not empty too, the search continues with the cell number . Thus, if there is an empty place somewhere, the value anyway will be added.
For example, if a value with hash is written to cell h + 2, then two collisions occurred. Collisions slow down the hash table, so Alex decided to find out how many collisions will be on average, if we insert different values into an empty hash table. And the calculation, as always, is up to you.
Constraints: 1 \le N \le 100, 0 \le M \le N.
The first line of the input file contains two integers: and .
You should print a single number — an average number of collisions. Print the answer with absolute or relative error of less than 10^{-7}.
Example 1