/**
 * This function removes certain notes from a musician's performance.
 *
 * @param notes A list of notes played by the musician.
 * @param removeIndices A list of indices representing the positions of the notes to be removed.
 * @return The modified list of notes after removing the specified indices.
 */
fun removeNotes(notes: MutableList<String>, removeIndices: List<Int>): List<String> {

    for (index in removeIndices.sortedDescending()) {
        notes.removeAt(index)
    }
    return notes
}
/**
 * This function removes certain notes from a musician's performance.
 *
 * @param notes A list of notes played by the musician.
 * @param removeIndices A list of indices representing the positions of the notes to be removed.
 * @return The modified list of notes after removing the specified indices.
 */
fun removeNotes(notes: MutableList<String>, removeIndices: List<Int>): List<String> {
/**
 * This function removes certain notes from a musician's performance.
 *
 * @param notes A list of notes played by the musician.
 * @param removeIndices A list of indices representing the positions of the notes to be removed.
 * @return The modified list of notes after removing the specified indices.
 */
fun removeNotes(notes: MutableList<String>, removeIndices: List<Int>): List<String> {

    for (index in removeIndices.sortedDescending()) {
        notes.removeAt(index)
    }
    return notes
}