/**
 * Returns a set of common genres between two actors/actresses.
 *
 * @param actor1 Set of genres of actor1.
 * @param actor2 Set of genres of actor2.
 * @return Set of common genres between actor1 and actor2.
 */
fun commonGenres(actor1: Set<String>, actor2: Set<String>): Set<String> {

    return actor1.intersect(actor2)
}
/**
 * Returns a set of common genres between two actors/actresses.
 *
 * @param actor1 Set of genres of actor1.
 * @param actor2 Set of genres of actor2.
 * @return Set of common genres between actor1 and actor2.
 */
fun commonGenres(actor1: Set<String>, actor2: Set<String>): Set<String> {
/**
 * Returns a set of common genres between two actors/actresses.
 *
 * @param actor1 Set of genres of actor1.
 * @param actor2 Set of genres of actor2.
 * @return Set of common genres between actor1 and actor2.
 */
fun commonGenres(actor1: Set<String>, actor2: Set<String>): Set<String> {

    return actor1.intersect(actor2)
}