The number of ways to put 5 identical balls in 3 identical boxes such that no box is empty, is
2
In one arrangement, the balls can be put in the boxes as 1, 1, 3.
In another arrangement, the balls can be put in the boxes as 1, 2, 2.
Since the balls and the boxes are identical, there will be no further arrangements.
So, there are only 2 ways to put 5 identical balls in 3 identical boxes such that no box is empty.