input: Write a function to extract a random subset from a list with a given size.
  assert len(extract_random_subset([1, 2, 3, 4, 5], 3)) == 3
  assert len(extract_random_subset([1, 2, 3, 4, 5], 5)) == 5
  assert len(extract_random_subset([1, 2, 3, 4, 5], 2)) == 2
output: import random
  
  def extract_random_subset(lst, size):
      return random.sample(lst, size)