/**
 * This function finds the dancers that are common between two lists of dancers.
 *
 * @param dancerList1 The first list of dancers
 * @param dancerList2 The second list of dancers
 * @return A new list containing the common dancers from both lists
 */
fun findCommonDancers(dancerList1: List<String>, dancerList2: List<String>): List<String> {

    val commonDancers = mutableListOf<String>()
    for (dancer1 in dancerList1) {
        for (dancer2 in dancerList2) {
            if (dancer1 == dancer2) {
                commonDancers.add(dancer1)
                break
            }
        }
    }
    return commonDancers
}
/**
 * This function finds the dancers that are common between two lists of dancers.
 *
 * @param dancerList1 The first list of dancers
 * @param dancerList2 The second list of dancers
 * @return A new list containing the common dancers from both lists
 */
fun findCommonDancers(dancerList1: List<String>, dancerList2: List<String>): List<String> {
/**
 * This function finds the dancers that are common between two lists of dancers.
 *
 * @param dancerList1 The first list of dancers
 * @param dancerList2 The second list of dancers
 * @return A new list containing the common dancers from both lists
 */
fun findCommonDancers(dancerList1: List<String>, dancerList2: List<String>): List<String> {

    val commonDancers = mutableListOf<String>()
    for (dancer1 in dancerList1) {
        for (dancer2 in dancerList2) {
            if (dancer1 == dancer2) {
                commonDancers.add(dancer1)
                break
            }
        }
    }
    return commonDancers
}