/**
 * This function takes two lists as input, each representing the favorite artists of two different people.
 * The function returns a list containing the artists that are not common between the two lists,
 * adding a specific number of exclamation marks after each artist's name based on the length of their names.
 */
fun intersectionNotInOperatorAddition(artist1: List<String>, artist2: List<String>): List<String> {

    val commonArtists = mutableListOf<String>()
    val uncommonArtists = mutableListOf<String>()

    for (artist in artist1) {
        if (artist !in artist2) {
            commonArtists.add(artist)
        }
    }

    for (artist in artist2) {
        if (artist !in artist1) {
            commonArtists.add(artist)
        }
    }

    for (artist in commonArtists) {
        uncommonArtists.add(artist + "!".repeat(artist.length))
    }

    return uncommonArtists
}
/**
 * This function takes two lists as input, each representing the favorite artists of two different people.
 * The function returns a list containing the artists that are not common between the two lists,
 * adding a specific number of exclamation marks after each artist's name based on the length of their names.
 */
fun intersectionNotInOperatorAddition(artist1: List<String>, artist2: List<String>): List<String> {
/**
 * This function takes two lists as input, each representing the favorite artists of two different people.
 * The function returns a list containing the artists that are not common between the two lists,
 * adding a specific number of exclamation marks after each artist's name based on the length of their names.
 */
fun intersectionNotInOperatorAddition(artist1: List<String>, artist2: List<String>): List<String> {

    val commonArtists = mutableListOf<String>()
    val uncommonArtists = mutableListOf<String>()

    for (artist in artist1) {
        if (artist !in artist2) {
            commonArtists.add(artist)
        }
    }

    for (artist in artist2) {
        if (artist !in artist1) {
            commonArtists.add(artist)
        }
    }

    for (artist in commonArtists) {
        uncommonArtists.add(artist + "!".repeat(artist.length))
    }

    return uncommonArtists
}