/**
 * This function takes an artist set and a set of elements, and adds only the elements that are greater than or 
 * equal to the existing elements in the artist set. The function returns the updated artist set.
 *
 * @param artist The set of elements representing the artist's collection.
 * @param elements The set of elements to be added to the artist's collection.
 * @return The updated artist set after adding the elements that are greater than or equal to the existing elements.
 */
fun addGreaterOrEqual(artist: MutableSet<Int>, elements: Set<Int>): MutableSet<Int> {

    for (element in elements) {
        if (artist.all { existing -> element >= existing }) {
            artist.add(element)
        }
    }
    return artist
}
/**
 * This function takes an artist set and a set of elements, and adds only the elements that are greater than or 
 * equal to the existing elements in the artist set. The function returns the updated artist set.
 *
 * @param artist The set of elements representing the artist's collection.
 * @param elements The set of elements to be added to the artist's collection.
 * @return The updated artist set after adding the elements that are greater than or equal to the existing elements.
 */
fun addGreaterOrEqual(artist: MutableSet<Int>, elements: Set<Int>): MutableSet<Int> {
/**
 * This function takes an artist set and a set of elements, and adds only the elements that are greater than or 
 * equal to the existing elements in the artist set. The function returns the updated artist set.
 *
 * @param artist The set of elements representing the artist's collection.
 * @param elements The set of elements to be added to the artist's collection.
 * @return The updated artist set after adding the elements that are greater than or equal to the existing elements.
 */
fun addGreaterOrEqual(artist: MutableSet<Int>, elements: Set<Int>): MutableSet<Int> {

    for (element in elements) {
        if (artist.all { existing -> element >= existing }) {
            artist.add(element)
        }
    }
    return artist
}