8. A box contains 5 white balls and 5 black balls. Now, the 10 balls are taken out one by one, ensuring that after each ball is taken out, the number of black balls left in the box is not less than the number of white balls. Assuming balls of the same color are indistinguishable, there are $\qquad$ ways to do this.