/**
 * This function finds the common colors between two fashion collections.
 *
 * @param fashionCollection1 A list of colors representing the first fashion collection.
 * @param fashionCollection2 A list of colors representing the second fashion collection.
 * @return A list containing the common colors between the two fashion collections.
 */
fun findCommonColors(fashionCollection1: List<String>, fashionCollection2: List<String>): List<String> {

    val commonColors = mutableListOf<String>()

    // Loop over each color in the first fashion collection
    for (color1 in fashionCollection1) {
        // Loop over each color in the second fashion collection
        for (color2 in fashionCollection2) {
            // Check if the colors match
            if (color1 == color2) {
                // Add the common color to the list
                commonColors.add(color1)
            }
        }
    }

    return commonColors
}
/**
 * This function finds the common colors between two fashion collections.
 *
 * @param fashionCollection1 A list of colors representing the first fashion collection.
 * @param fashionCollection2 A list of colors representing the second fashion collection.
 * @return A list containing the common colors between the two fashion collections.
 */
fun findCommonColors(fashionCollection1: List<String>, fashionCollection2: List<String>): List<String> {
/**
 * This function finds the common colors between two fashion collections.
 *
 * @param fashionCollection1 A list of colors representing the first fashion collection.
 * @param fashionCollection2 A list of colors representing the second fashion collection.
 * @return A list containing the common colors between the two fashion collections.
 */
fun findCommonColors(fashionCollection1: List<String>, fashionCollection2: List<String>): List<String> {

    val commonColors = mutableListOf<String>()

    // Loop over each color in the first fashion collection
    for (color1 in fashionCollection1) {
        // Loop over each color in the second fashion collection
        for (color2 in fashionCollection2) {
            // Check if the colors match
            if (color1 == color2) {
                // Add the common color to the list
                commonColors.add(color1)
            }
        }
    }

    return commonColors
}