/**
 * Given two dictionaries, find the common elements between them.
 *
 * @param dict1 The first dictionary.
 * @param dict2 The second dictionary.
 * @return A list containing the common elements (keys) between the dictionaries.
 */
fun findCommonElements(dict1: Map<Any, Any>, dict2: Map<Any, Any>): List<Any> {

    val commonElements = mutableListOf<Any>()
    for (key in dict1.keys) {
        if (dict2.containsKey(key)) {
            commonElements.add(key)
        }
    }
    return commonElements
}
/**
 * Given two dictionaries, find the common elements between them.
 *
 * @param dict1 The first dictionary.
 * @param dict2 The second dictionary.
 * @return A list containing the common elements (keys) between the dictionaries.
 */
fun findCommonElements(dict1: Map<Any, Any>, dict2: Map<Any, Any>): List<Any> {
/**
 * Given two dictionaries, find the common elements between them.
 *
 * @param dict1 The first dictionary.
 * @param dict2 The second dictionary.
 * @return A list containing the common elements (keys) between the dictionaries.
 */
fun findCommonElements(dict1: Map<Any, Any>, dict2: Map<Any, Any>): List<Any> {

    val commonElements = mutableListOf<Any>()
    for (key in dict1.keys) {
        if (dict2.containsKey(key)) {
            commonElements.add(key)
        }
    }
    return commonElements
}