/**
 * Given a list of clothes, modify the elements between the start and end positions inclusive.
 * Return the modified list of clothes.
 *
 * @param clothes A list of clothes
 * @param start The start position (inclusive) to modify the clothes
 * @param end The end position (inclusive) to modify the clothes
 * @return The modified list of clothes
 */
fun modifyClothes(clothes: MutableList<String>, start: Int, end: Int): List<String> {

    // Modify the clothes within the given range
    clothes.subList(start, end + 1).fill("altered")

    return clothes
}
/**
 * Given a list of clothes, modify the elements between the start and end positions inclusive.
 * Return the modified list of clothes.
 *
 * @param clothes A list of clothes
 * @param start The start position (inclusive) to modify the clothes
 * @param end The end position (inclusive) to modify the clothes
 * @return The modified list of clothes
 */
fun modifyClothes(clothes: MutableList<String>, start: Int, end: Int): List<String> {
/**
 * Given a list of clothes, modify the elements between the start and end positions inclusive.
 * Return the modified list of clothes.
 *
 * @param clothes A list of clothes
 * @param start The start position (inclusive) to modify the clothes
 * @param end The end position (inclusive) to modify the clothes
 * @return The modified list of clothes
 */
fun modifyClothes(clothes: MutableList<String>, start: Int, end: Int): List<String> {

    // Modify the clothes within the given range
    clothes.subList(start, end + 1).fill("altered")

    return clothes
}