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.

Ex 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]

Ex Output:
335


Ex Input:
[385, 98, 234, 248, 137, 11, 366, 183, 438, 240, 138, 201, 260, 94, 77, 132, 333, 492, 401, 394, 42, 462, 198, 308, 127]

Ex Output:
234


Ex Input:
[171, 389, 333, 393, 14, 297, 280, 343, 75, 22, 27, 222, 385, 391, 420, 166, 311, 446, 202, 481, 118, 207, 79, 437, 338]

Ex Output:

297