In games such as D&D (Dungeons and Dragons), the outcome of a move is determined using a set of dice with various numbers of sides. Each side of a die is numbered from to , where is the number of sides of that die. The damage dealt by a weapon is specified by the formula (M\ dN + K), where represents the sum of the results of independent rolls of an -sided die, and is a certain natural number. For example, 3\ d6 + 4 means rolling a standard -sided die times, summing the results, and then adding to the sum.
In the game, you encounter a clever monster called the Boojum, which has the following property: it will be destroyed if it receives exactly units of damage, where is a natural number.
If any damage other than is dealt, the Boojum will survive and, in its turn, cause you to vanish. However, you act before the Boojum.
Given , , , and , determine the probability of destroying the Boojum with this weapon.
The weapon's parameters are given as M\ dN+K on the first line, followed by the required damage on the next line. The numbers and are natural numbers and do not exceed . The numbers and are natural numbers and do not exceed in absolute value.
Output the probability that the resulting damage is exactly , as a percentage with two decimal places.
Example 1