input: Write a function to find and return a list containing only the common elements between two input lists. If the input lists are empty, return an empty list.
  def common_elements(list1, list2):
      common_list = [element for element in list1 if element in list2]
      return common_list
  
  assert common_elements([1, 2, 3, 4, 8], [2, 6, 8, 10]) == [2, 8]
  assert common_elements([], [2, 6, 8, 10]) == []
  assert common_elements([1, 2, 3, 4, 8], []) == []
  assert common_elements([1, 3, 5], [2, 4, 6]) == []
  assert common_elements([1, 2, 2, 3], [2, 2, 4]) == [2, 2]
output: def common_elements(list1, list2):
      common_list = [element for element in list1 if element in list2]
      return common_list