Detailed Instructions: 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.
Q: [339, 382, 471, 303, 450, 97, 104, 323, 209, 50, 498, 12, 78, 89, 265, 241, 341, 251, 457, 118, 304, 372, 406, 449, 371]
A:
304