/**
 * Given two dictionaries, find the common values within them.
 *
 * @param dict1 The first dictionary.
 * @param dict2 The second dictionary.
 * @return A list of common values found in both dictionaries.
 */
fun findCommonValues(dict1: Map<Any, Any>, dict2: Map<Any, Any>): List<Any> {

    val commonValues = mutableListOf<Any>()
    for ((_, value1) in dict1) {
        for ((_, value2) in dict2) {
            if (value1 == value2) { // Check if values match
                commonValues.add(value1)
            }
        }
    }
    return commonValues
}
/**
 * Given two dictionaries, find the common values within them.
 *
 * @param dict1 The first dictionary.
 * @param dict2 The second dictionary.
 * @return A list of common values found in both dictionaries.
 */
fun findCommonValues(dict1: Map<Any, Any>, dict2: Map<Any, Any>): List<Any> {
/**
 * Given two dictionaries, find the common values within them.
 *
 * @param dict1 The first dictionary.
 * @param dict2 The second dictionary.
 * @return A list of common values found in both dictionaries.
 */
fun findCommonValues(dict1: Map<Any, Any>, dict2: Map<Any, Any>): List<Any> {

    val commonValues = mutableListOf<Any>()
    for ((_, value1) in dict1) {
        for ((_, value2) in dict2) {
            if (value1 == value2) { // Check if values match
                commonValues.add(value1)
            }
        }
    }
    return commonValues
}