input: Write a function to output the top 3 numbers from an array of integers. If the array has fewer than 3 numbers, it should return the entire sorted array in descending order.
  def top_three(numbers):
      sorted_numbers = sorted(numbers, reverse=True)
      return sorted_numbers[:3]
  
  assert top_three([7, 13, 5, 8, 50, 11, 64, 48])==[64, 50, 48]
  assert top_three([3, 2, 1])==[3, 2, 1]
  assert top_three([9])==[9]
  assert top_three([])==[]
  assert top_three([-1, -2, -3, -4])==[-1, -2, -3]
output: def top_three(numbers):
      sorted_numbers = sorted(numbers, reverse=True)
      return sorted_numbers[:3]