You will be given a definition of a task first, then some input of the task.
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.

[319, 403, 216, 308, 390, 102, 435, 55, 469, 498, 340, 391, 495, 73, 188, 331, 183, 429, 465, 50, 295, 27, 214, 261, 67]
Output:
308