/**
 * Given three sets: names, years, and awards. Use a for loop to iterate over the names set and find
 * the intersection between the sets years and awards for the given actor/actress name.
 *
 * @param names Set containing actor/actress names.
 * @param years Set containing years when they won an award.
 * @param awards Set containing awards they received.
 * @return Intersection of the years and awards sets for the specified actor/actress.
 */
fun actorActressIntersection(names: Set<String>, years: Set<Int>, awards: Set<String>): Set<Any> {

    for (name in names) {
        // TODO: Complete the code to find the intersection between years and awards for the specified name
        val intersection = years.intersect(awards)

        return intersection
    }
    return emptySet()
}
/**
 * Given three sets: names, years, and awards. Use a for loop to iterate over the names set and find
 * the intersection between the sets years and awards for the given actor/actress name.
 *
 * @param names Set containing actor/actress names.
 * @param years Set containing years when they won an award.
 * @param awards Set containing awards they received.
 * @return Intersection of the years and awards sets for the specified actor/actress.
 */
fun actorActressIntersection(names: Set<String>, years: Set<Int>, awards: Set<String>): Set<Any> {
/**
 * Given three sets: names, years, and awards. Use a for loop to iterate over the names set and find
 * the intersection between the sets years and awards for the given actor/actress name.
 *
 * @param names Set containing actor/actress names.
 * @param years Set containing years when they won an award.
 * @param awards Set containing awards they received.
 * @return Intersection of the years and awards sets for the specified actor/actress.
 */
fun actorActressIntersection(names: Set<String>, years: Set<Int>, awards: Set<String>): Set<Any> {

    for (name in names) {
        // TODO: Complete the code to find the intersection between years and awards for the specified name
        val intersection = years.intersect(awards)

        return intersection
    }
    return emptySet()
}