/**
 * This function takes two tuples as parameters: campaigns and targetAudience.
 * It returns a list of common interests between the marketing campaigns and target audience.
 */
fun findCommonInterests(campaigns: List<String>, targetAudience: List<String>): List<String> {

    // Initialize an empty list to store the common interests
    val commonInterests = mutableListOf<String>()

    // Check each campaign interest against the target audience interests
    for (interest in campaigns) {
        if (interest in targetAudience) {
            commonInterests.add(interest)
        }
    }

    return commonInterests
}
/**
 * This function takes two tuples as parameters: campaigns and targetAudience.
 * It returns a list of common interests between the marketing campaigns and target audience.
 */
fun findCommonInterests(campaigns: List<String>, targetAudience: List<String>): List<String> {
/**
 * This function takes two tuples as parameters: campaigns and targetAudience.
 * It returns a list of common interests between the marketing campaigns and target audience.
 */
fun findCommonInterests(campaigns: List<String>, targetAudience: List<String>): List<String> {

    // Initialize an empty list to store the common interests
    val commonInterests = mutableListOf<String>()

    // Check each campaign interest against the target audience interests
    for (interest in campaigns) {
        if (interest in targetAudience) {
            commonInterests.add(interest)
        }
    }

    return commonInterests
}