Bag of Mice Game

A bag contains w white mice and b black mice. Two players take turns drawing mice from the bag at random without replacement. If a player draws a white mouse, they win immediately and the game ends. If a player draws a black mouse, the turn passes to the opponent. After each black mouse draw, exactly one random mouse from the remaining mice escapes from the bag (removed uniformly at random), and this escape happens on every black draw. If no mice remain for the player whose turn it is, that player loses.

This is the symmetric contract: the escape follows each black draw, not an asymmetric Codeforces-style model. Both players play optimally. Calculate the probability that the first player wins.

Answers are accepted with an absolute error of at most 1e-6 from the correct probability for this contract.

Examples
Input: [1,0]
Output: 1
Hints

Bag of Mice Game

A bag contains `w` white mice and `b` black mice. Two players take turns drawing mice from the bag at random without replacement. If a player draws a white mouse, they win immediately and the game ends. If a player draws a black mouse, the turn passes to the opponent. After **each** black mouse draw, exactly one random mouse from the remaining mice escapes from the bag (removed uniformly at random), and this escape happens on every black draw. If no mice remain for the player whose turn it is, that player loses.