/**
 * Given a list of dance moves and their respective distances, return the total distance covered.
 *
 * @param moves A list of dance moves.
 * @param distances A list of distances associated with the dance moves.
 * @return The total distance covered.
 */
fun calculateTotalDistance(moves: List<String>, distances: List<Double>): Double {

    var totalDistance = 0.0

    for ((move, distance) in moves.zip(distances)) {
        when (move) {
            "twirl" -> totalDistance += distance * 1.5
            // Add more cases for other dance moves here
            // TODO: Write conditional statements for other dance moves
        }
    }

    return totalDistance
}
/**
 * Given a list of dance moves and their respective distances, return the total distance covered.
 *
 * @param moves A list of dance moves.
 * @param distances A list of distances associated with the dance moves.
 * @return The total distance covered.
 */
fun calculateTotalDistance(moves: List<String>, distances: List<Double>): Double {
/**
 * Given a list of dance moves and their respective distances, return the total distance covered.
 *
 * @param moves A list of dance moves.
 * @param distances A list of distances associated with the dance moves.
 * @return The total distance covered.
 */
fun calculateTotalDistance(moves: List<String>, distances: List<Double>): Double {

    var totalDistance = 0.0

    for ((move, distance) in moves.zip(distances)) {
        when (move) {
            "twirl" -> totalDistance += distance * 1.5
            // Add more cases for other dance moves here
            // TODO: Write conditional statements for other dance moves
        }
    }

    return totalDistance
}