/**
 * Given the number of firefighting teams and the number of members in each team,
 * create a list of pairs where each pair represents the team number and the total number of members in that team.
 *
 * @param numberOfTeams An integer representing the number of firefighting teams.
 * @param membersPerTeam An integer representing the number of members in each team.
 * @return A list of pairs containing the team number and the total number of members for each team.
 */
fun firefightingTeamMembers(numberOfTeams: Int, membersPerTeam: Int): List<Pair<Int, Int>> {

    val teamMembers = mutableListOf<Pair<Int, Int>>()
    for (teamNumber in 1..numberOfTeams) {
        teamMembers.add(Pair(teamNumber, teamNumber * membersPerTeam))
    }
    return teamMembers
}
/**
 * Given the number of firefighting teams and the number of members in each team,
 * create a list of pairs where each pair represents the team number and the total number of members in that team.
 *
 * @param numberOfTeams An integer representing the number of firefighting teams.
 * @param membersPerTeam An integer representing the number of members in each team.
 * @return A list of pairs containing the team number and the total number of members for each team.
 */
fun firefightingTeamMembers(numberOfTeams: Int, membersPerTeam: Int): List<Pair<Int, Int>> {
/**
 * Given the number of firefighting teams and the number of members in each team,
 * create a list of pairs where each pair represents the team number and the total number of members in that team.
 *
 * @param numberOfTeams An integer representing the number of firefighting teams.
 * @param membersPerTeam An integer representing the number of members in each team.
 * @return A list of pairs containing the team number and the total number of members for each team.
 */
fun firefightingTeamMembers(numberOfTeams: Int, membersPerTeam: Int): List<Pair<Int, Int>> {

    val teamMembers = mutableListOf<Pair<Int, Int>>()
    for (teamNumber in 1..numberOfTeams) {
        teamMembers.add(Pair(teamNumber, teamNumber * membersPerTeam))
    }
    return teamMembers
}