/**
 * This function takes the number of shirts, pants, and shoes as input.
 * It creates a list of all possible outfits by combining each shirt with each pant and each shoe.
 * The function returns the total number of outfits and a list of all the outfits.
 */
fun createOutfit(numShirts: Int, numPants: Int, numShoes: Int): Pair<Int, List<Triple<Int, Int, Int>>> {

    val outfits = mutableListOf<Triple<Int, Int, Int>>()

    for (shirt in 0 until numShirts) {
        for (pant in 0 until numPants) {
            for (shoe in 0 until numShoes) {
                outfits.add(Triple(shirt, pant, shoe))
            }
        }
    }

    return Pair(outfits.size, outfits)
}
/**
 * This function takes the number of shirts, pants, and shoes as input.
 * It creates a list of all possible outfits by combining each shirt with each pant and each shoe.
 * The function returns the total number of outfits and a list of all the outfits.
 */
fun createOutfit(numShirts: Int, numPants: Int, numShoes: Int): Pair<Int, List<Triple<Int, Int, Int>>> {
/**
 * This function takes the number of shirts, pants, and shoes as input.
 * It creates a list of all possible outfits by combining each shirt with each pant and each shoe.
 * The function returns the total number of outfits and a list of all the outfits.
 */
fun createOutfit(numShirts: Int, numPants: Int, numShoes: Int): Pair<Int, List<Triple<Int, Int, Int>>> {

    val outfits = mutableListOf<Triple<Int, Int, Int>>()

    for (shirt in 0 until numShirts) {
        for (pant in 0 until numPants) {
            for (shoe in 0 until numShoes) {
                outfits.add(Triple(shirt, pant, shoe))
            }
        }
    }

    return Pair(outfits.size, outfits)
}