What is the median of the following data set?

{6, 3, 9, 1, 7}

3
6
8
9
I know the answer just seeing what you guys know and giving points:)