/**
 * The fashionStatement function takes a list of clothes and a list of colors as arguments.
 * It creates a fashionable statement by repeating the clothes with respective colors, separated by commas.
 * The final string is returned as the result.
 */
fun fashionStatement(clothes: List<String>, colors: List<String>): String {

    // Initialize an empty string to store the fashionable statement
    var statement = ""

    // Loop through each clothing item
    for (i in clothes.indices) {
        // Repeat the clothing item based on its index
        statement += "${clothes[i]} ".repeat(i + 1)  // Concatenate the repeated clothing item with a space

        // Loop through each color item
        for (color in colors) {
            // Repeat the color based on its length
            statement += "${color}, ".repeat(color.length)  // Concatenate the repeated color with a comma
        }
    }

    // Remove the extra comma at the end and return the final string
    return statement.substring(0, statement.length - 2)
}
/**
 * The fashionStatement function takes a list of clothes and a list of colors as arguments.
 * It creates a fashionable statement by repeating the clothes with respective colors, separated by commas.
 * The final string is returned as the result.
 */
fun fashionStatement(clothes: List<String>, colors: List<String>): String {
/**
 * The fashionStatement function takes a list of clothes and a list of colors as arguments.
 * It creates a fashionable statement by repeating the clothes with respective colors, separated by commas.
 * The final string is returned as the result.
 */
fun fashionStatement(clothes: List<String>, colors: List<String>): String {

    // Initialize an empty string to store the fashionable statement
    var statement = ""

    // Loop through each clothing item
    for (i in clothes.indices) {
        // Repeat the clothing item based on its index
        statement += "${clothes[i]} ".repeat(i + 1)  // Concatenate the repeated clothing item with a space

        // Loop through each color item
        for (color in colors) {
            // Repeat the color based on its length
            statement += "${color}, ".repeat(color.length)  // Concatenate the repeated color with a comma
        }
    }

    // Remove the extra comma at the end and return the final string
    return statement.substring(0, statement.length - 2)
}