/**
 * This function takes two lists as input and returns a list containing the common elements between the lists.
 *
 * @param lst1 List containing elements (can contain duplicates)
 * @param lst2 List containing elements (can contain duplicates)
 * @return A list containing the common elements between lst1 and lst2
 */
fun findCommonElements(lst1: List<Any>, lst2: List<Any>): List<Any> {

    val commonElements = mutableListOf<Any>()
    for (element in lst1) {
        if (element in lst2) {
            commonElements.add(element)
        }
    }
    return commonElements
}
/**
 * This function takes two lists as input and returns a list containing the common elements between the lists.
 *
 * @param lst1 List containing elements (can contain duplicates)
 * @param lst2 List containing elements (can contain duplicates)
 * @return A list containing the common elements between lst1 and lst2
 */
fun findCommonElements(lst1: List<Any>, lst2: List<Any>): List<Any> {
/**
 * This function takes two lists as input and returns a list containing the common elements between the lists.
 *
 * @param lst1 List containing elements (can contain duplicates)
 * @param lst2 List containing elements (can contain duplicates)
 * @return A list containing the common elements between lst1 and lst2
 */
fun findCommonElements(lst1: List<Any>, lst2: List<Any>): List<Any> {

    val commonElements = mutableListOf<Any>()
    for (element in lst1) {
        if (element in lst2) {
            commonElements.add(element)
        }
    }
    return commonElements
}