Mathematics (Second Preparatory)

What is the median of the following numbers: 3, 5, 1, 4, 2?

3