/**
 * Given a list of dancers, add the number 5 at the end of each dancer's name.
 *
 * @param dancers A list of dictionaries containing information about each dancer, such as 'name' and 'age'.
 * @return A list of dancers with modified names.
 */
fun add5ToNames(dancers: List<Map<String, Any>>): List<Map<String, Any>> {

    val newDancers = mutableListOf<Map<String, Any>>()
    for (dancer in dancers) {
        val dancerCopy = dancer.toMutableMap()
        dancerCopy["name"] = dancer["name"].toString() + "5"
        newDancers.add(dancerCopy)
    }
    return newDancers
}
/**
 * Given a list of dancers, add the number 5 at the end of each dancer's name.
 *
 * @param dancers A list of dictionaries containing information about each dancer, such as 'name' and 'age'.
 * @return A list of dancers with modified names.
 */
fun add5ToNames(dancers: List<Map<String, Any>>): List<Map<String, Any>> {
/**
 * Given a list of dancers, add the number 5 at the end of each dancer's name.
 *
 * @param dancers A list of dictionaries containing information about each dancer, such as 'name' and 'age'.
 * @return A list of dancers with modified names.
 */
fun add5ToNames(dancers: List<Map<String, Any>>): List<Map<String, Any>> {

    val newDancers = mutableListOf<Map<String, Any>>()
    for (dancer in dancers) {
        val dancerCopy = dancer.toMutableMap()
        dancerCopy["name"] = dancer["name"].toString() + "5"
        newDancers.add(dancerCopy)
    }
    return newDancers
}