In a survey conducted among a group of students, the following data was collected regarding the number of books read by each student in the past month: 4, 5, 6, 5, 7, 8, 5, 6, 5, 2.
Based on this data, determine the median number of books read by the students.