Your class wants to know to most typical age of student in your class. It collects the ages of all students and the teacher. Which measures of central tendency would give you the best typical student age
Assuming the teacher is not of similar age to the students, their higher age would pull the mean higher than if the teacher were not included, where the median would not be pulled by this extreme value.