/**
 * Takes in two songs as strings and returns a list of common notes between them.
 */
fun findCommonNotes(song1: String, song2: String): List<Char> {

    val commonNotes = mutableListOf<Char>()

    for (note1 in song1) {
        for (note2 in song2) {
            if (note1 == note2) {
                commonNotes.add(note1)
                break
            }
        }
    }

    return commonNotes
}
/**
 * Takes in two songs as strings and returns a list of common notes between them.
 */
fun findCommonNotes(song1: String, song2: String): List<Char> {
/**
 * Takes in two songs as strings and returns a list of common notes between them.
 */
fun findCommonNotes(song1: String, song2: String): List<Char> {

    val commonNotes = mutableListOf<Char>()

    for (note1 in song1) {
        for (note2 in song2) {
            if (note1 == note2) {
                commonNotes.add(note1)
                break
            }
        }
    }

    return commonNotes
}