Calculate the median of this set of numbers.
5, 4, 7, 2, 8
The sorted list is 2,4,5,7,8. Therefore, the median is 5.
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Calculate the median of this set of numbers.

### Response:
The sorted list is 2,4,5,7,8. Therefore, the median is 5.