input: Write a Python program to find the largest three numbers in a list.
  
  
  def find_largest_three(nums):
      if len(nums) < 3:
          return sorted(nums, reverse=True)
      return sorted(nums, reverse=True)[:3]
  
  assert find_largest_three([1, 6, 3, 8, 7, 4])==[8, 7, 6]
  assert find_largest_three([4, 2, 9, 10, 6])==[10, 9, 6]
  assert find_largest_three([1, 2])==[2, 1]
  assert find_largest_three([8, 3, 5, 6, 2, 1])==[8, 6, 5]
  assert find_largest_three([])==[]
  
output: def find_largest_three(nums):
      if len(nums) < 3:
          return sorted(nums, reverse=True)
      return sorted(nums, reverse=True)[:3]