input: Write a function to find the largest three numbers in a list. The list is given as input. If the list has fewer than three numbers, return the largest numbers available.
  
  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([5, 2, 9, 1, 7])==[9, 7, 5]
  assert find_largest_three([4, 3])==[4, 3]
  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]