/**
 * Given two lists of archaeological artifacts, finds the artifacts that are present in both lists.
 *
 * @param list1 Two lists of strings representing archaeological artifacts
 * @param list2 Two lists of strings representing archaeological artifacts
 * @return A list containing the artifacts that are present in both lists.
 */
fun intersectionOfLists(list1: List<String>, list2: List<String>): List<String> {

    // Find the intersection of the two lists using list comprehension
    val intersection = list1.filter { it in list2 }
    
    return intersection
}
/**
 * Given two lists of archaeological artifacts, finds the artifacts that are present in both lists.
 *
 * @param list1 Two lists of strings representing archaeological artifacts
 * @param list2 Two lists of strings representing archaeological artifacts
 * @return A list containing the artifacts that are present in both lists.
 */
fun intersectionOfLists(list1: List<String>, list2: List<String>): List<String> {
/**
 * Given two lists of archaeological artifacts, finds the artifacts that are present in both lists.
 *
 * @param list1 Two lists of strings representing archaeological artifacts
 * @param list2 Two lists of strings representing archaeological artifacts
 * @return A list containing the artifacts that are present in both lists.
 */
fun intersectionOfLists(list1: List<String>, list2: List<String>): List<String> {

    // Find the intersection of the two lists using list comprehension
    val intersection = list1.filter { it in list2 }
    
    return intersection
}