First, what is the probability that the first head is flipped at time (for ) ? This is the same as saying that the first throws are tails, and the -th one is a head. So this probability is, using independence: .

Then, for instance, the probability that A wins is . Remembering that when , the probability finally becomes: .

Changing into and , you get the B and C cases.