/**
 * This function takes two dictionaries as input and returns a list of common keys between them.
 * If there are no common keys, an empty list is returned.
 *
 * @param dictionary1 The first dictionary.
 * @param dictionary2 The second dictionary.
 * @return A list of common keys between dictionary1 and dictionary2.
 */
fun commonKeys(dictionary1: Map<String, Any>, dictionary2: Map<String, Any>): List<String> {

    val commonKeys = mutableListOf<String>()

    // Iterate over the keys in dictionary1
    for (key1 in dictionary1.keys) {
        // Iterate over the keys in dictionary2
        for (key2 in dictionary2.keys) {
            if (key1 == key2) {
                commonKeys.add(key1)
            }
        }
    }

    return commonKeys
}
/**
 * This function takes two dictionaries as input and returns a list of common keys between them.
 * If there are no common keys, an empty list is returned.
 *
 * @param dictionary1 The first dictionary.
 * @param dictionary2 The second dictionary.
 * @return A list of common keys between dictionary1 and dictionary2.
 */
fun commonKeys(dictionary1: Map<String, Any>, dictionary2: Map<String, Any>): List<String> {
/**
 * This function takes two dictionaries as input and returns a list of common keys between them.
 * If there are no common keys, an empty list is returned.
 *
 * @param dictionary1 The first dictionary.
 * @param dictionary2 The second dictionary.
 * @return A list of common keys between dictionary1 and dictionary2.
 */
fun commonKeys(dictionary1: Map<String, Any>, dictionary2: Map<String, Any>): List<String> {

    val commonKeys = mutableListOf<String>()

    // Iterate over the keys in dictionary1
    for (key1 in dictionary1.keys) {
        // Iterate over the keys in dictionary2
        for (key2 in dictionary2.keys) {
            if (key1 == key2) {
                commonKeys.add(key1)
            }
        }
    }

    return commonKeys
}