oyvind likes to test his future employees, especially with funny games.
This time he has invented a game where you start out with B black marbles and W white ones in a bag.
You also have endless supplies of both kinds of marbles outside the bag. The game proceeds in rounds. In each round, you take two marbles at random out of the bag, and put one marble back in (possibly another color than any of the two you took out), obeying the following rules:
1. When you take out two white marbles, you put a black one back in.
2. When you take out one black and one white, you put a white marble back in.
3. When you take out two black marbles, you put a black one back in.
At the end of this game, there will only be one marble in the bag. This marble may be white with a probability and black with a probability given the number of marbles of each colour you start with. Your job is to find these probabilities.