/**
 * Given a list of fashion items and a target color,
 * this function returns the number of fashion items
 * in the list that match the target color.
 *
 * @param fashionList A list of fashion items (strings)
 * @param targetColor The color to search for (string)
 * @return The number of fashion items that match the target color
 */
fun findColor(fashionList: List<String>, targetColor: String): Int {

    var count = 0

    for (item in fashionList) {
        if (item == targetColor) {
            count++
        }
    }

    return count
}
/**
 * Given a list of fashion items and a target color,
 * this function returns the number of fashion items
 * in the list that match the target color.
 *
 * @param fashionList A list of fashion items (strings)
 * @param targetColor The color to search for (string)
 * @return The number of fashion items that match the target color
 */
fun findColor(fashionList: List<String>, targetColor: String): Int {
/**
 * Given a list of fashion items and a target color,
 * this function returns the number of fashion items
 * in the list that match the target color.
 *
 * @param fashionList A list of fashion items (strings)
 * @param targetColor The color to search for (string)
 * @return The number of fashion items that match the target color
 */
fun findColor(fashionList: List<String>, targetColor: String): Int {

    var count = 0

    for (item in fashionList) {
        if (item == targetColor) {
            count++
        }
    }

    return count
}