Mathematics (8th Grade)

Statistics

Which number is the median of the following set: 3, 5, 1, 8, 7?