What is the median for the following set of data?

5, 7, 8, 10, 12, 12

12
10
9
7