input: Write a function to return the top 3 numbers from an array of integers. If the array has fewer than 3 numbers, return all the numbers.
  
  def top_three(numbers):
      sorted_numbers = sorted(numbers, reverse=True)
      return sorted_numbers[:3] if len(sorted_numbers) >= 3 else sorted_numbers
  
  assert top_three([7, 13, 5, 8, 50, 11, 64, 48])==[64, 50, 48]
  assert top_three([1, 2, 3])==[3, 2, 1]
  assert top_three([5, 10])==[10, 5]
  assert top_three([])==[]
output: def top_three(numbers):
      sorted_numbers = sorted(numbers, reverse=True)
      return sorted_numbers[:3] if len(sorted_numbers) >= 3 else sorted_numbers