/**
 * Given a list of photos and a list of excluded photos,
 * remove all the excluded photos from the main list.
 *
 * @param photos The main list of photos.
 * @param excluded The list of photos to be excluded.
 * @return The updated list of photos with the excluded ones removed.
 */
fun removeExcludedPhotos(photos: List<String>, excluded: List<String>): List<String> {

    val result = mutableListOf<String>() // Initialize an empty list to store the photos after exclusion

    for (photo in photos) { // Loop through each photo in the main list
        if (photo !in excluded) { // Check if the photo is not in the excluded list
            result.add(photo) // If not, add it to the result list
        }
    }

    return result // Return the updated list of photos
}
/**
 * Given a list of photos and a list of excluded photos,
 * remove all the excluded photos from the main list.
 *
 * @param photos The main list of photos.
 * @param excluded The list of photos to be excluded.
 * @return The updated list of photos with the excluded ones removed.
 */
fun removeExcludedPhotos(photos: List<String>, excluded: List<String>): List<String> {
/**
 * Given a list of photos and a list of excluded photos,
 * remove all the excluded photos from the main list.
 *
 * @param photos The main list of photos.
 * @param excluded The list of photos to be excluded.
 * @return The updated list of photos with the excluded ones removed.
 */
fun removeExcludedPhotos(photos: List<String>, excluded: List<String>): List<String> {

    val result = mutableListOf<String>() // Initialize an empty list to store the photos after exclusion

    for (photo in photos) { // Loop through each photo in the main list
        if (photo !in excluded) { // Check if the photo is not in the excluded list
            result.add(photo) // If not, add it to the result list
        }
    }

    return result // Return the updated list of photos
}