/**
 * Returns a set of unique instruments that are common between two lists of musicians.
 *
 * @param musicians1 A list of musician names.
 * @param musicians2 A list of musician names.
 * @return A set of unique instruments that are common between the two lists.
 */
fun getInstrumentIntersection(musicians1: List<String>, musicians2: List<String>): Set<String> {

    // TODO: Write your code here
    val commonInstruments = musicians1.filter { it in musicians2 }.toSet()
    return commonInstruments
}

// Example usage
class Musician
/**
 * Returns a set of unique instruments that are common between two lists of musicians.
 *
 * @param musicians1 A list of musician names.
 * @param musicians2 A list of musician names.
 * @return A set of unique instruments that are common between the two lists.
 */
fun getInstrumentIntersection(musicians1: List<String>, musicians2: List<String>): Set<String> {
/**
 * Returns a set of unique instruments that are common between two lists of musicians.
 *
 * @param musicians1 A list of musician names.
 * @param musicians2 A list of musician names.
 * @return A set of unique instruments that are common between the two lists.
 */
fun getInstrumentIntersection(musicians1: List<String>, musicians2: List<String>): Set<String> {

    // TODO: Write your code here
    val commonInstruments = musicians1.filter { it in musicians2 }.toSet()
    return commonInstruments
}

// Example usage
class Musician