/**
 * This function takes a list of dancers and returns a new list with only dancers who know both tap and ballet.
 */
fun makeDancerList(dancers: List<Map<String, Boolean>>): List<Map<String, Boolean>> {

    // Create an empty list to store the selected dancers
    val selectedDancers = mutableListOf<Map<String, Boolean>>()

    // Iterate through each dancer in the input list
    for (dancer in dancers) {
        // Check if the dancer knows both tap and ballet
        if (dancer["tap"] == true && dancer["ballet"] == true) {
            selectedDancers.add(dancer)
        }
    }

    return selectedDancers
}
/**
 * This function takes a list of dancers and returns a new list with only dancers who know both tap and ballet.
 */
fun makeDancerList(dancers: List<Map<String, Boolean>>): List<Map<String, Boolean>> {
/**
 * This function takes a list of dancers and returns a new list with only dancers who know both tap and ballet.
 */
fun makeDancerList(dancers: List<Map<String, Boolean>>): List<Map<String, Boolean>> {

    // Create an empty list to store the selected dancers
    val selectedDancers = mutableListOf<Map<String, Boolean>>()

    // Iterate through each dancer in the input list
    for (dancer in dancers) {
        // Check if the dancer knows both tap and ballet
        if (dancer["tap"] == true && dancer["ballet"] == true) {
            selectedDancers.add(dancer)
        }
    }

    return selectedDancers
}