input: Write a function to compare two lists of strings and return a list containing strings found in both.
  assert compare_lists(["apple", "banana", "carrot", "kiwi"], ["kiwi", "cucumber", "grape", "apple"]) == ["apple", "kiwi"]
  assert compare_lists(["dog", "cat", "mouse"], ["elephant", "cat", "dog"]) == ["dog", "cat"]
  assert compare_lists(["red", "green", "blue"], ["yellow", "green", "red"]) == ["red", "green"]
output: def compare_lists(list1, list2):
      return [item for item in list1 if item in list2]