What is the median value of the following set of numbers: 2, 4, 5, 7, 8, 10