/**
 * This function helps a fashion designer decide the appropriate fabric for a specific clothing item based on the season and color.
 */
fun fashionDesigner(clothingName: String, season: String, color: String): String {

    return when (season) {
        "winter" -> {
            when (color) {
                "red" -> "wool"
                else -> "cashmere"
            }
        }
        "spring" -> {
            when (color) {
                "blue" -> "linen"
                "yellow" -> "cotton"
                else -> "silk"
            }
        }
        "summer" -> {
            when (color) {
                "green" -> "cotton"
                "pink" -> "satin"
                else -> "chiffon"
            }
        }
        else -> "polyester"
    }
}
/**
 * This function helps a fashion designer decide the appropriate fabric for a specific clothing item based on the season and color.
 */
fun fashionDesigner(clothingName: String, season: String, color: String): String {
/**
 * This function helps a fashion designer decide the appropriate fabric for a specific clothing item based on the season and color.
 */
fun fashionDesigner(clothingName: String, season: String, color: String): String {

    return when (season) {
        "winter" -> {
            when (color) {
                "red" -> "wool"
                else -> "cashmere"
            }
        }
        "spring" -> {
            when (color) {
                "blue" -> "linen"
                "yellow" -> "cotton"
                else -> "silk"
            }
        }
        "summer" -> {
            when (color) {
                "green" -> "cotton"
                "pink" -> "satin"
                else -> "chiffon"
            }
        }
        else -> "polyester"
    }
}