/**
 * Given a list representing a photo and a value representing a color,
 * this function modifies the photo by changing the color of individual elements.
 *
 * @param photo A list representing the photo
 * @param color A string representing the color to be applied
 * @return Modified photo with the color applied to individual elements
 */
fun modifyPhotoColor(photo: MutableList<String>, color: String): List<String> {

    // Iterate over each element in the photo
    for (i in photo.indices) {
        // Apply the specified color to each element
        photo[i] = color
    }
    return photo
}
/**
 * Given a list representing a photo and a value representing a color,
 * this function modifies the photo by changing the color of individual elements.
 *
 * @param photo A list representing the photo
 * @param color A string representing the color to be applied
 * @return Modified photo with the color applied to individual elements
 */
fun modifyPhotoColor(photo: MutableList<String>, color: String): List<String> {
/**
 * Given a list representing a photo and a value representing a color,
 * this function modifies the photo by changing the color of individual elements.
 *
 * @param photo A list representing the photo
 * @param color A string representing the color to be applied
 * @return Modified photo with the color applied to individual elements
 */
fun modifyPhotoColor(photo: MutableList<String>, color: String): List<String> {

    // Iterate over each element in the photo
    for (i in photo.indices) {
        // Apply the specified color to each element
        photo[i] = color
    }
    return photo
}