/**
 * This exercise focuses on iterating over a dictionary and finding the keys with values greater than a specified number.
 *
 * @param dictInput The dictionary to iterate over.
 * @param num The number to compare the values against.
 * @return A list containing the keys with values greater than the specified number.
 */
fun greaterThan(dictInput: Map<String, Int>, num: Int): List<String> {

    val keysGreaterThanNum = mutableListOf<String>()  // Initialize an empty list to store keys with values greater than num

    for ((key, value) in dictInput) {  // Iterate over each key-value pair in the dictionary
        if (value > num) {  // Check if the value is greater than num
            keysGreaterThanNum.add(key)  // Append the key to the list if the condition is satisfied
        }
    }

    return keysGreaterThanNum
}
/**
 * This exercise focuses on iterating over a dictionary and finding the keys with values greater than a specified number.
 *
 * @param dictInput The dictionary to iterate over.
 * @param num The number to compare the values against.
 * @return A list containing the keys with values greater than the specified number.
 */
fun greaterThan(dictInput: Map<String, Int>, num: Int): List<String> {
/**
 * This exercise focuses on iterating over a dictionary and finding the keys with values greater than a specified number.
 *
 * @param dictInput The dictionary to iterate over.
 * @param num The number to compare the values against.
 * @return A list containing the keys with values greater than the specified number.
 */
fun greaterThan(dictInput: Map<String, Int>, num: Int): List<String> {

    val keysGreaterThanNum = mutableListOf<String>()  // Initialize an empty list to store keys with values greater than num

    for ((key, value) in dictInput) {  // Iterate over each key-value pair in the dictionary
        if (value > num) {  // Check if the value is greater than num
            keysGreaterThanNum.add(key)  // Append the key to the list if the condition is satisfied
        }
    }

    return keysGreaterThanNum
}