/**
 * Given a dictionary, modify the values of dictionary items that are greater than a certain value.
 */
fun modifyDictItems(dictionary: MutableMap<String, Int>) {

    // Set the threshold value for modification
    val thresholdValue = 50

    // Iterate over the dictionary items
    for ((key, value) in dictionary) {
        // Check if the value is greater than the threshold value
        if (value > thresholdValue) {
            // Modify the value
            // You can choose any method or logic to modify the value
            // For example, you can multiply the value by 2 or subtract a certain number from it
            // Make sure to update the modified value back to the dictionary
            // dictionary[key] = value * 2
            dictionary[key] = value - 10
        }
    }

    // Print the modified dictionary
    println(dictionary)
}
/**
 * Given a dictionary, modify the values of dictionary items that are greater than a certain value.
 */
fun modifyDictItems(dictionary: MutableMap<String, Int>) {
/**
 * Given a dictionary, modify the values of dictionary items that are greater than a certain value.
 */
fun modifyDictItems(dictionary: MutableMap<String, Int>) {

    // Set the threshold value for modification
    val thresholdValue = 50

    // Iterate over the dictionary items
    for ((key, value) in dictionary) {
        // Check if the value is greater than the threshold value
        if (value > thresholdValue) {
            // Modify the value
            // You can choose any method or logic to modify the value
            // For example, you can multiply the value by 2 or subtract a certain number from it
            // Make sure to update the modified value back to the dictionary
            // dictionary[key] = value * 2
            dictionary[key] = value - 10
        }
    }

    // Print the modified dictionary
    println(dictionary)
}