/**
 * This function takes a dictionary of colors and their corresponding values, and returns a list of colors that have a value greater than or equal to the given minimum value.
 *
 * @param colorDict A dictionary containing colors as keys and their values as values.
 * @param minValue The minimum value for a color to be included in the resulting list.
 * @return A list of colors with values greater than or equal to the given minimum value.
 *
 * Example:
 * val colorDict = mapOf("red" to 5, "blue" to 8, "yellow" to 3, "green" to 10)
 * getSupportedColors(colorDict, 7) // Output: ['blue', 'green']
 */
fun getSupportedColors(colorDict: Map<String, Int>, minValue: Int): List<String> {

    val supportedColors = mutableListOf<String>()

    for ((color, value) in colorDict) {
        if (value >= minValue) {
            supportedColors.add(color)
        }
    }

    return supportedColors
}
/**
 * This function takes a dictionary of colors and their corresponding values, and returns a list of colors that have a value greater than or equal to the given minimum value.
 *
 * @param colorDict A dictionary containing colors as keys and their values as values.
 * @param minValue The minimum value for a color to be included in the resulting list.
 * @return A list of colors with values greater than or equal to the given minimum value.
 *
 * Example:
 * val colorDict = mapOf("red" to 5, "blue" to 8, "yellow" to 3, "green" to 10)
 * getSupportedColors(colorDict, 7) // Output: ['blue', 'green']
 */
fun getSupportedColors(colorDict: Map<String, Int>, minValue: Int): List<String> {
/**
 * This function takes a dictionary of colors and their corresponding values, and returns a list of colors that have a value greater than or equal to the given minimum value.
 *
 * @param colorDict A dictionary containing colors as keys and their values as values.
 * @param minValue The minimum value for a color to be included in the resulting list.
 * @return A list of colors with values greater than or equal to the given minimum value.
 *
 * Example:
 * val colorDict = mapOf("red" to 5, "blue" to 8, "yellow" to 3, "green" to 10)
 * getSupportedColors(colorDict, 7) // Output: ['blue', 'green']
 */
fun getSupportedColors(colorDict: Map<String, Int>, minValue: Int): List<String> {

    val supportedColors = mutableListOf<String>()

    for ((color, value) in colorDict) {
        if (value >= minValue) {
            supportedColors.add(color)
        }
    }

    return supportedColors
}