/**
 * Given a list of photographs and an index, this function returns a new list
 * containing only the photographs greater than or equal to the index.
 *
 * @param photos A list of integers representing the photographs.
 * @param index An integer representing the index.
 * @return A new list only containing the photographs greater than or equal to the index.
 */
fun getPhotosGreaterThanOrEqual(photos: List<Int>, index: Int): List<Int> {

    val result = mutableListOf<Int>()

    // Iterate through each photo
    for (photo in photos) {
        // Check if the photo index is greater than or equal to the given index
        if (photo >= index) {
            result.add(photo)
        }
    }

    return result
}
/**
 * Given a list of photographs and an index, this function returns a new list
 * containing only the photographs greater than or equal to the index.
 *
 * @param photos A list of integers representing the photographs.
 * @param index An integer representing the index.
 * @return A new list only containing the photographs greater than or equal to the index.
 */
fun getPhotosGreaterThanOrEqual(photos: List<Int>, index: Int): List<Int> {
/**
 * Given a list of photographs and an index, this function returns a new list
 * containing only the photographs greater than or equal to the index.
 *
 * @param photos A list of integers representing the photographs.
 * @param index An integer representing the index.
 * @return A new list only containing the photographs greater than or equal to the index.
 */
fun getPhotosGreaterThanOrEqual(photos: List<Int>, index: Int): List<Int> {

    val result = mutableListOf<Int>()

    // Iterate through each photo
    for (photo in photos) {
        // Check if the photo index is greater than or equal to the given index
        if (photo >= index) {
            result.add(photo)
        }
    }

    return result
}