# Probability

Level pending

A and B bet on the outcomes of the successive toss of a coin. On each toss, if the coin shows a head, A gets one rupee from B, whereas if the coin shows a tail, A pays one rupee to B. They continue to do this unit one of them runs out of money. If it is assumed that the successive tosses of the coin are independent, find the probability that A ends up with all the money if A starts with five rupees and B starts with seven rupees.

×