/**
 * Given two dictionaries, return a list of common keys between them.
 *
 * @param dict1 First dictionary
 * @param dict2 Second dictionary
 * @return List of common keys between dict1 and dict2
 */
fun commonKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): List<String> {

    // Initialize an empty list to store the common keys
    val common = mutableListOf<String>()

    // Loop through each key in dict1
    for (key in dict1.keys) {
        // Check if the key is present in dict2
        if (dict2.containsKey(key)) {
            // Append the key to the common list
            common.add(key)
        }
    }

    // Return the list of common keys
    return common
}
/**
 * Given two dictionaries, return a list of common keys between them.
 *
 * @param dict1 First dictionary
 * @param dict2 Second dictionary
 * @return List of common keys between dict1 and dict2
 */
fun commonKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): List<String> {
/**
 * Given two dictionaries, return a list of common keys between them.
 *
 * @param dict1 First dictionary
 * @param dict2 Second dictionary
 * @return List of common keys between dict1 and dict2
 */
fun commonKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): List<String> {

    // Initialize an empty list to store the common keys
    val common = mutableListOf<String>()

    // Loop through each key in dict1
    for (key in dict1.keys) {
        // Check if the key is present in dict2
        if (dict2.containsKey(key)) {
            // Append the key to the common list
            common.add(key)
        }
    }

    // Return the list of common keys
    return common
}