/**
 * This function receives a dictionary containing information about different artists and their genres.
 * You need to iterate over the dictionary and find the artist who has multiple genres using the 'AND" operator.
 * Return the name of the artist who meets this condition.
 */
fun findArtistGenre(artistDictionary: Map<String, List<String>>): String? {

    for ((artist, genres) in artistDictionary) {  // Iterate over each artist and their genres
        if (genres.size > 1) {
            var foundMultipleGenres = true
            for (genre in genres) {  // Iterate over each genre of the current artist
                if (genre.isEmpty()) {  // If a genre is empty
                    foundMultipleGenres = false
                    break
                }
            }
            if (foundMultipleGenres) {
                return artist  // Return the name of the artist
            }
        }
    }
    return null
}
/**
 * This function receives a dictionary containing information about different artists and their genres.
 * You need to iterate over the dictionary and find the artist who has multiple genres using the 'AND" operator.
 * Return the name of the artist who meets this condition.
 */
fun findArtistGenre(artistDictionary: Map<String, List<String>>): String? {
/**
 * This function receives a dictionary containing information about different artists and their genres.
 * You need to iterate over the dictionary and find the artist who has multiple genres using the 'AND" operator.
 * Return the name of the artist who meets this condition.
 */
fun findArtistGenre(artistDictionary: Map<String, List<String>>): String? {

    for ((artist, genres) in artistDictionary) {  // Iterate over each artist and their genres
        if (genres.size > 1) {
            var foundMultipleGenres = true
            for (genre in genres) {  // Iterate over each genre of the current artist
                if (genre.isEmpty()) {  // If a genre is empty
                    foundMultipleGenres = false
                    break
                }
            }
            if (foundMultipleGenres) {
                return artist  // Return the name of the artist
            }
        }
    }
    return null
}