/**
 * This exercise requires the musician to remove specific notes from a given list of notes.
 *
 * @param musician The name of the musician.
 * @param notesToRemove A list of notes to be removed from the musician's list of notes.
 * @return The updated list of notes after removing the specified notes.
 */
fun removeNotesFromList(musician: String, notesToRemove: List<String>): MutableList<String> {

    // Create a list of notes for the musician
    val notes = mutableListOf("A", "B", "C", "D", "E", "F", "G")

    // Remove the specified notes from the list
    for (note in notesToRemove) {
        if (note in notes) {
            notes.remove(note)
        }
    }

    return notes
}
/**
 * This exercise requires the musician to remove specific notes from a given list of notes.
 *
 * @param musician The name of the musician.
 * @param notesToRemove A list of notes to be removed from the musician's list of notes.
 * @return The updated list of notes after removing the specified notes.
 */
fun removeNotesFromList(musician: String, notesToRemove: List<String>): MutableList<String> {
/**
 * This exercise requires the musician to remove specific notes from a given list of notes.
 *
 * @param musician The name of the musician.
 * @param notesToRemove A list of notes to be removed from the musician's list of notes.
 * @return The updated list of notes after removing the specified notes.
 */
fun removeNotesFromList(musician: String, notesToRemove: List<String>): MutableList<String> {

    // Create a list of notes for the musician
    val notes = mutableListOf("A", "B", "C", "D", "E", "F", "G")

    // Remove the specified notes from the list
    for (note in notesToRemove) {
        if (note in notes) {
            notes.remove(note)
        }
    }

    return notes
}