25. A chocolate bar consists of $5 \times 8$ square pieces. The bar is broken along straight lines, separating the pieces, until 40 individual pieces are obtained. How many times will the bar need to be broken? (Find all solutions.)