Question 21
A bag only contains some number of black and white balls. The ratio of black to white balls is $1:2$. If two balls are randomly drawn from the bag at the same time, the probability that the two balls have different colours is $\frac{64}{143}$. How many balls are there in the bag in total?