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.

[31, 381, 109, 280, 426, 339, 361, 387, 277, 165, 372, 191, 39, 188, 430, 283, 193, 113, 334, 195, 321, 21, 246, 64, 239]
246