47. There are the same number of black balls and white balls in the box. Each time, 5 black balls and 8 white balls are taken out. After several times, only 12 black balls are left in the box. The box originally had $\qquad$ balls.
Reference answer: 64