/**
 * Given a list of months and a list of cultures, generate all possible birthplaces based on the combinations
 * of months and cultures.
 *
 * @param months A list of strings representing months of the year
 * @param cultures A list of strings representing different cultures
 * @return A list of strings representing all possible birthplaces
 */
fun generatePossibleBirthplaces(months: List<String>, cultures: List<String>): List<String> {

    val birthplaces = mutableListOf<String>()
    for (month in months) {
        for (culture in cultures) {
            val birthplace = culture.toUpperCase() + " in " + month.capitalize()
            birthplaces.add(birthplace)
        }
    }
    return birthplaces
}

// Define a list of months
val monthsList = listOf("january", "february", "march", "april", "may", "june", "july", "august", "september",
    "october", "november", "december")

// Define a list of cultures
val culturesList = listOf("african", "asian", "european", "latin american", "middle eastern", "native american")

// Call the function with the given months and cultures
val possibleBirthplaces = generatePossibleBirthplaces(monthsList, culturesList)
/**
 * Given a list of months and a list of cultures, generate all possible birthplaces based on the combinations
 * of months and cultures.
 *
 * @param months A list of strings representing months of the year
 * @param cultures A list of strings representing different cultures
 * @return A list of strings representing all possible birthplaces
 */
fun generatePossibleBirthplaces(months: List<String>, cultures: List<String>): List<String> {
/**
 * Given a list of months and a list of cultures, generate all possible birthplaces based on the combinations
 * of months and cultures.
 *
 * @param months A list of strings representing months of the year
 * @param cultures A list of strings representing different cultures
 * @return A list of strings representing all possible birthplaces
 */
fun generatePossibleBirthplaces(months: List<String>, cultures: List<String>): List<String> {

    val birthplaces = mutableListOf<String>()
    for (month in months) {
        for (culture in cultures) {
            val birthplace = culture.toUpperCase() + " in " + month.capitalize()
            birthplaces.add(birthplace)
        }
    }
    return birthplaces
}

// Define a list of months
val monthsList = listOf("january", "february", "march", "april", "may", "june", "july", "august", "september",
    "october", "november", "december")

// Define a list of cultures
val culturesList = listOf("african", "asian", "european", "latin american", "middle eastern", "native american")

// Call the function with the given months and cultures
val possibleBirthplaces = generatePossibleBirthplaces(monthsList, culturesList)