/**
 * Given a list of performers and a dancer, remove the dancer from the list and return the modified list.
 *
 * @param performers A list of performers.
 * @param dancer A string representing the name of the dancer.
 * @return The modified list after removing the dancer.
 *
 * Example:
 * removeDancer(listOf("Sarah", "John", "Emily"), "John") // Output: ["Sarah", "Emily"]
 */
fun removeDancer(performers: MutableList<String>, dancer: String): List<String> {

    // Remove the dancer from the list
    performers.remove(dancer)
    return performers
}
/**
 * Given a list of performers and a dancer, remove the dancer from the list and return the modified list.
 *
 * @param performers A list of performers.
 * @param dancer A string representing the name of the dancer.
 * @return The modified list after removing the dancer.
 *
 * Example:
 * removeDancer(listOf("Sarah", "John", "Emily"), "John") // Output: ["Sarah", "Emily"]
 */
fun removeDancer(performers: MutableList<String>, dancer: String): List<String> {
/**
 * Given a list of performers and a dancer, remove the dancer from the list and return the modified list.
 *
 * @param performers A list of performers.
 * @param dancer A string representing the name of the dancer.
 * @return The modified list after removing the dancer.
 *
 * Example:
 * removeDancer(listOf("Sarah", "John", "Emily"), "John") // Output: ["Sarah", "Emily"]
 */
fun removeDancer(performers: MutableList<String>, dancer: String): List<String> {

    // Remove the dancer from the list
    performers.remove(dancer)
    return performers
}