/**
 * Given two lists, return a new list containing the common elements between them.
 *
 * @param lst1 the first list
 * @param lst2 the second list
 * @return The list containing the common elements between lst1 and lst2.
 */
fun getCommonElements(lst1: List<Any>, lst2: List<Any>): List<Any> {

    val commonElements = mutableListOf<Any>()

    var i = 0
    while (i < lst1.size) {
        if (lst1[i] in lst2) {
            commonElements.add(lst1[i])
        }
        i++
    }

    return commonElements
}
/**
 * Given two lists, return a new list containing the common elements between them.
 *
 * @param lst1 the first list
 * @param lst2 the second list
 * @return The list containing the common elements between lst1 and lst2.
 */
fun getCommonElements(lst1: List<Any>, lst2: List<Any>): List<Any> {
/**
 * Given two lists, return a new list containing the common elements between them.
 *
 * @param lst1 the first list
 * @param lst2 the second list
 * @return The list containing the common elements between lst1 and lst2.
 */
fun getCommonElements(lst1: List<Any>, lst2: List<Any>): List<Any> {

    val commonElements = mutableListOf<Any>()

    var i = 0
    while (i < lst1.size) {
        if (lst1[i] in lst2) {
            commonElements.add(lst1[i])
        }
        i++
    }

    return commonElements
}