Returns the median of the given numbers