Mystic Duel#809

Mystic Duel

1 second
256 megabytes
Hard

In the popular fantasy card game "Mystic Duel", players use two types of magical cards: Sword cards and Shield cards. During a special game mode called "Random Clash", an interesting mechanic occurs.

A player has Sword cards and Shield cards placed face-down on the table. Each turn, two random cards are flipped and interact according to the game rules:

The pair of cards is chosen uniformly at random among all remaining cards, ensuring two different cards (possibly of the same type) are selected. For example, when two Sword cards and one Shield card remain, with equal probability of , the flip involves the st Sword and Shield, or the nd Sword and Shield, or the st and nd Sword cards. In the first two cases, the Shield is removed, and in the third case, both Swords are removed.

Find the probability that following these game rules, at least one Shield card will remain, and all Sword cards will be removed from play.

Input

Two integers are given in one line - the number of Sword cards (1 \leq s \leq 2010) and the number of Shield cards (1 \leq r \leq 2010).

Output

Print one number - the required probability (with a relative error less than 10^{-9}).

Examples

Example 1

Loading
Loading