/**
 * Returns a list of common elements between two input lists.
 *
 * @param lst1 The first list.
 * @param lst2 The second list.
 * @return A new list of common elements.
 */
fun getCommonElements(lst1: List<Any>, lst2: List<Any>): List<Any> {

    // Create an empty list to store common elements
    val commonList = mutableListOf<Any>()

    // Iterate over the first list
    for (item in lst1) {
        // Check if the item is present in the second list
        if (item in lst2) {
            // Add the item to commonList
            commonList.add(item)
        }
    }

    return commonList
}
/**
 * Returns a list of common elements between two input lists.
 *
 * @param lst1 The first list.
 * @param lst2 The second list.
 * @return A new list of common elements.
 */
fun getCommonElements(lst1: List<Any>, lst2: List<Any>): List<Any> {
/**
 * Returns a list of common elements between two input lists.
 *
 * @param lst1 The first list.
 * @param lst2 The second list.
 * @return A new list of common elements.
 */
fun getCommonElements(lst1: List<Any>, lst2: List<Any>): List<Any> {

    // Create an empty list to store common elements
    val commonList = mutableListOf<Any>()

    // Iterate over the first list
    for (item in lst1) {
        // Check if the item is present in the second list
        if (item in lst2) {
            // Add the item to commonList
            commonList.add(item)
        }
    }

    return commonList
}