input: Write a function to generate a set of 4 unique random numbers from a given list.
  assert len(generate_random_set([1, 2, 3, 4, 5, 6, 7])) == 4
  assert generate_random_set([1, 1, 1, 1, 1, 1, 1]) == {1}
  assert len(generate_random_set([1, 2, 3, 4])) == 4
output: import random
  
  def generate_random_set(lst):
      return set(random.sample(lst, min(4, len(lst))))