/**
 * This exercise requires you to iterate through a list of notes and a list of chords. Your task is to find the first note that matches the first chord and break out of the loop. If no match is found, you should print "No match found".
 *
 * @param notes A list of musical notes.
 * @param chords A list of musical chords.
 */
fun musicianLoopBreaker(notes: List<String>, chords: List<String>) {

    for (note in notes) {
        if (chords[0].contains(note)) {
            println("Match found: $note")
            return
        }
    }
    println("No match found")
}
/**
 * This exercise requires you to iterate through a list of notes and a list of chords. Your task is to find the first note that matches the first chord and break out of the loop. If no match is found, you should print "No match found".
 *
 * @param notes A list of musical notes.
 * @param chords A list of musical chords.
 */
fun musicianLoopBreaker(notes: List<String>, chords: List<String>) {
/**
 * This exercise requires you to iterate through a list of notes and a list of chords. Your task is to find the first note that matches the first chord and break out of the loop. If no match is found, you should print "No match found".
 *
 * @param notes A list of musical notes.
 * @param chords A list of musical chords.
 */
fun musicianLoopBreaker(notes: List<String>, chords: List<String>) {

    for (note in notes) {
        if (chords[0].contains(note)) {
            println("Match found: $note")
            return
        }
    }
    println("No match found")
}