input: Write a function to output the top 3 numbers from an array of integers. If the array has fewer than 3 numbers, return all the numbers 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([1, 2])==[2, 1]
  assert top_three([])==[]
  assert top_three([10, 10, 10, 10])==[10, 10, 10]
  assert top_three([7, 100, 3, 200, 5, 300])==[300, 200, 100]
output: def top_three(numbers):
      sorted_numbers = sorted(numbers, reverse=True)
      return sorted_numbers[:3]