There are 7 boxes stacked on the floor in the math department supply closet. Each box has a height of 10 inches or 8 inches. The height of the stack of 7 boxes is 5 feet. How many boxes in the stack are 8 inches in height?