Write a Python program to find the median of given numbers. The median is the middle value after sorting; for an even count it is the average of the two middle values.
Input
[45, 60, 61, 66, 70, 77, 80]
Output
Median: 66
Approach
Sort the numbers.
If the count is odd, take the middle item at index n // 2.