/**
 * This function takes in two lists, lst1 and lst2, and returns a new list that contains the elements that are common to both lst1 and lst2.
 * The order of the elements in the new list should follow the order of appearance in lst1.
 */
fun createUniqueList(lst1: List<Any>, lst2: List<Any>): List<Any> {

    val uniqueList = mutableListOf<Any>()

    for (elem1 in lst1) {
        for (elem2 in lst2) {
            if (elem1 == elem2) {
                uniqueList.add(elem1)
                break
            }
        }
    }

    return uniqueList
}
/**
 * This function takes in two lists, lst1 and lst2, and returns a new list that contains the elements that are common to both lst1 and lst2.
 * The order of the elements in the new list should follow the order of appearance in lst1.
 */
fun createUniqueList(lst1: List<Any>, lst2: List<Any>): List<Any> {
/**
 * This function takes in two lists, lst1 and lst2, and returns a new list that contains the elements that are common to both lst1 and lst2.
 * The order of the elements in the new list should follow the order of appearance in lst1.
 */
fun createUniqueList(lst1: List<Any>, lst2: List<Any>): List<Any> {

    val uniqueList = mutableListOf<Any>()

    for (elem1 in lst1) {
        for (elem2 in lst2) {
            if (elem1 == elem2) {
                uniqueList.add(elem1)
                break
            }
        }
    }

    return uniqueList
}