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: Consider Input: [340, 164, 83, 411, 335, 60, 254, 419, 446, 98, 426, 368, 484, 94, 364, 468, 231, 354, 136, 219, 290, 463, 151, 67, 489]

Output: 335


Input: Consider Input: [462, 478, 53, 121, 365, 324, 51, 477, 150, 298, 12, 408, 409, 25, 401, 234, 366, 274, 145, 49, 353, 183, 249, 458, 314]

Output: 298


Input: Consider Input: [329, 239, 360, 221, 172, 477, 496, 431, 436, 219, 376, 38, 212, 366, 370, 411, 225, 73, 384, 28, 498, 385, 99, 428, 369]


Output: 366