The ages, in years, of children at a birthday party, are 4, 7, 8, 2, 9, 6, 5, 5, 9, 7, 8. What is the median age?