/**
 * This function takes in two lists and determines their intersection.
 */
fun determineIntersection(list1: List<Any>, list2: List<Any>): List<Any> {

    val intersection = mutableListOf<Any>()

    for (element1 in list1) {
        for (element2 in list2) {
            // Add code to check if element1 is equal to element2 and should be added to the intersection list
            // Hint: Use an if statement for comparison
        }
    }

    return intersection
}
/**
 * This function takes in two lists and determines their intersection.
 */
fun determineIntersection(list1: List<Any>, list2: List<Any>): List<Any> {
/**
 * This function takes in two lists and determines their intersection.
 */
fun determineIntersection(list1: List<Any>, list2: List<Any>): List<Any> {

    val intersection = mutableListOf<Any>()

    for (element1 in list1) {
        for (element2 in list2) {
            // Add code to check if element1 is equal to element2 and should be added to the intersection list
            // Hint: Use an if statement for comparison
        }
    }

    return intersection
}