/**
 * This function takes a list of music notes and a list of words, 
 * and prints the music notes that contain any of the words.
 */
fun printMatchingNotes(musicNotes: List<String>, words: List<String>) {

    val matchingNotes = mutableListOf<String>()
    for (note in musicNotes) {
        for (word in words) {
            if (word in note) {
                matchingNotes.add(note)
            }
        }
    }
    
    for (note in matchingNotes) {
        println(note)
    }
}
/**
 * This function takes a list of music notes and a list of words, 
 * and prints the music notes that contain any of the words.
 */
fun printMatchingNotes(musicNotes: List<String>, words: List<String>) {
/**
 * This function takes a list of music notes and a list of words, 
 * and prints the music notes that contain any of the words.
 */
fun printMatchingNotes(musicNotes: List<String>, words: List<String>) {

    val matchingNotes = mutableListOf<String>()
    for (note in musicNotes) {
        for (word in words) {
            if (word in note) {
                matchingNotes.add(note)
            }
        }
    }
    
    for (note in matchingNotes) {
        println(note)
    }
}