/**
 * This function takes in two lists and finds the common elements between them.
 *
 * @param lst1 The first list.
 * @param lst2 The second list.
 * @return A new list containing the common elements from lst1 and lst2.
 */
fun findCommonElements(lst1: List<Any>, lst2: List<Any>): List<Any> {

    val commonElements = mutableListOf<Any>()

    // Iterate over each element in lst1
    for (elem in lst1) {
        // Check if the element is also present in lst2
        if (elem in lst2) {
            // Add it to the commonElements list
            commonElements.add(elem)
        }
    }

    return commonElements
}
/**
 * This function takes in two lists and finds the common elements between them.
 *
 * @param lst1 The first list.
 * @param lst2 The second list.
 * @return A new list containing the common elements from lst1 and lst2.
 */
fun findCommonElements(lst1: List<Any>, lst2: List<Any>): List<Any> {
/**
 * This function takes in two lists and finds the common elements between them.
 *
 * @param lst1 The first list.
 * @param lst2 The second list.
 * @return A new list containing the common elements from lst1 and lst2.
 */
fun findCommonElements(lst1: List<Any>, lst2: List<Any>): List<Any> {

    val commonElements = mutableListOf<Any>()

    // Iterate over each element in lst1
    for (elem in lst1) {
        // Check if the element is also present in lst2
        if (elem in lst2) {
            // Add it to the commonElements list
            commonElements.add(elem)
        }
    }

    return commonElements
}