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:
[58, 140, 105, 42, 109, 494, 106, 319, 397, 41, 492, 233, 324, 291, 102, 295, 393, 183, 371, 189, 220, 214, 130, 188, 174]

Ex Output:
189


Ex Input:
[158, 50, 199, 348, 369, 67, 497, 238, 330, 368, 352, 90, 109, 227, 283, 488, 82, 355, 418, 378, 70, 161, 229, 108, 147]

Ex Output:
229


Ex Input:
[199, 137, 36, 412, 367, 111, 218, 358, 357, 192, 19, 306, 224, 71, 53, 70, 366, 320, 415, 448, 229, 63, 174, 409, 177]

Ex Output:

218