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: [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


Input: Consider Input: [78, 485, 178, 352, 231, 463, 89, 115, 429, 25, 403, 434, 180, 435, 209, 204, 217, 171, 346, 452, 241, 192, 14, 134, 384]

Output: 217


Input: Consider Input: [198, 289, 436, 365, 497, 100, 454, 316, 293, 372, 427, 11, 493, 279, 154, 472, 280, 357, 453, 235, 133, 470, 330, 397, 439]


Output: 357