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