input: Write a python function to find the median of a list of numbers.
  assert get_median([1, 2, 3, 4, 5]) == 3
  assert get_median([1, 2, 3, 4, 5, 6]) == 3.5
  assert get_median([5, 3, 1, 4, 2]) == 3
  assert get_median([10, 20, 30, 40, 50]) == 30
output: def get_median(numbers):
      numbers.sort()
      n = len(numbers)
      mid = n // 2
      if n % 2 == 0:
          return (numbers[mid - 1] + numbers[mid]) / 2
      else:
          return numbers[mid]