In a class, the teacher recorded the number of hours 8 students spent studying for an exam:
4, 6, 8, 5, 7, 9, 6, 2
Based on this data:
What is the median study time?