Definition: In this task, you are given a list of integers. You need to find the median of the list of integers and return that as the output. The median is the middle value in the list of numbers such that half of the elements are less than the median and the other half of elements are greater than the median.
Input: [87, 114, 362, 436, 446, 306, 60, 312, 215, 335, 160, 310, 284, 242, 22, 326, 409, 59, 102, 305, 13, 142, 473, 158, 64]
Output:
242