/**
 * This function takes a tuple of activities performed by an athlete and the number of repetitions for each activity.
 * It returns a list with all the activities repeated the specified number of times.
 */
fun athleteActivities(activities: List<String>, numRepetitions: Int): List<String> {

    val repeatedActivities = mutableListOf<String>()
    for (activity in activities) {
        repeatedActivities.addAll(List(numRepetitions) { activity })
    }
    return repeatedActivities
}
/**
 * This function takes a tuple of activities performed by an athlete and the number of repetitions for each activity.
 * It returns a list with all the activities repeated the specified number of times.
 */
fun athleteActivities(activities: List<String>, numRepetitions: Int): List<String> {
/**
 * This function takes a tuple of activities performed by an athlete and the number of repetitions for each activity.
 * It returns a list with all the activities repeated the specified number of times.
 */
fun athleteActivities(activities: List<String>, numRepetitions: Int): List<String> {

    val repeatedActivities = mutableListOf<String>()
    for (activity in activities) {
        repeatedActivities.addAll(List(numRepetitions) { activity })
    }
    return repeatedActivities
}