/**
 * This function takes a list of artists and a list of elements to remove from the artist list.
 * It removes the specified elements from the list and returns the modified artist list.
 */
fun removeElements(artistList: MutableList<String>, elementsToRemove: List<String>): List<String> {

    for (artist in elementsToRemove) {
        artistList.remove(artist)
    }
    return artistList
}

// Example usage
/**
 * This function takes a list of artists and a list of elements to remove from the artist list.
 * It removes the specified elements from the list and returns the modified artist list.
 */
fun removeElements(artistList: MutableList<String>, elementsToRemove: List<String>): List<String> {
/**
 * This function takes a list of artists and a list of elements to remove from the artist list.
 * It removes the specified elements from the list and returns the modified artist list.
 */
fun removeElements(artistList: MutableList<String>, elementsToRemove: List<String>): List<String> {

    for (artist in elementsToRemove) {
        artistList.remove(artist)
    }
    return artistList
}

// Example usage