/**
 * Given two actor or actress names as lists, find the intersection of their identities.
 */
fun findSameTupElements(name1: List<String>, name2: List<String>): Set<String> {

    // Check if there is any common element between the two lists
    val commonElements = name1.intersect(name2).toSet()
    
    return commonElements
}
/**
 * Given two actor or actress names as lists, find the intersection of their identities.
 */
fun findSameTupElements(name1: List<String>, name2: List<String>): Set<String> {
/**
 * Given two actor or actress names as lists, find the intersection of their identities.
 */
fun findSameTupElements(name1: List<String>, name2: List<String>): Set<String> {

    // Check if there is any common element between the two lists
    val commonElements = name1.intersect(name2).toSet()
    
    return commonElements
}