A bag contains a white and b black balls. Two players, A and B alternately draw a ball from the bag, replacing the ball each time after the draw till one of them draws a white ball and wins the game. A begins the game. If the probability of A winning the game is three times that of B, the ratio a:b is