5. In the class, 31 students are playing a game. The male students stand in a row first, then 1 female student stands between each pair of male students, and it is found that there are still 2 female students left. So, there are $\qquad$ male students in the class.
15