/**
 * Finds the common songs between two musicians.
 *
 * @param musician1 List of songs by musician 1.
 * @param musician2 List of songs by musician 2.
 * @return List of common songs between the two musicians.
 */
fun findCommonSongs(musician1: List<String>, musician2: List<String>): List<String> {

    val commonSongs = mutableListOf<String>()

    for (song1 in musician1) {
        for (song2 in musician2) {
            if (song1 == song2) {
                commonSongs.add(song1)
            }
        }
    }

    return commonSongs
}
/**
 * Finds the common songs between two musicians.
 *
 * @param musician1 List of songs by musician 1.
 * @param musician2 List of songs by musician 2.
 * @return List of common songs between the two musicians.
 */
fun findCommonSongs(musician1: List<String>, musician2: List<String>): List<String> {
/**
 * Finds the common songs between two musicians.
 *
 * @param musician1 List of songs by musician 1.
 * @param musician2 List of songs by musician 2.
 * @return List of common songs between the two musicians.
 */
fun findCommonSongs(musician1: List<String>, musician2: List<String>): List<String> {

    val commonSongs = mutableListOf<String>()

    for (song1 in musician1) {
        for (song2 in musician2) {
            if (song1 == song2) {
                commonSongs.add(song1)
            }
        }
    }

    return commonSongs
}