/**
 * Given three sets of colors representing the colors used in three different rooms,
 * find the common colors that appear in all three rooms.
 *
 * @param room1 A set of colors used in the first room.
 * @param room2 A set of colors used in the second room.
 * @param room3 A set of colors used in the third room.
 * @return A set of colors that appear in all three rooms.
 *
 * Example:
 * val room1 = setOf("blue", "green", "yellow")
 * val room2 = setOf("red", "blue", "green")
 * val room3 = setOf("blue", "green", "orange")
 * findCommonColors(room1, room2, room3) // Output: setOf("blue", "green")
 */
fun findCommonColors(room1: Set<String>, room2: Set<String>, room3: Set<String>): Set<String> {

    return room1.intersect(room2).intersect(room3)
}
/**
 * Given three sets of colors representing the colors used in three different rooms,
 * find the common colors that appear in all three rooms.
 *
 * @param room1 A set of colors used in the first room.
 * @param room2 A set of colors used in the second room.
 * @param room3 A set of colors used in the third room.
 * @return A set of colors that appear in all three rooms.
 *
 * Example:
 * val room1 = setOf("blue", "green", "yellow")
 * val room2 = setOf("red", "blue", "green")
 * val room3 = setOf("blue", "green", "orange")
 * findCommonColors(room1, room2, room3) // Output: setOf("blue", "green")
 */
fun findCommonColors(room1: Set<String>, room2: Set<String>, room3: Set<String>): Set<String> {
/**
 * Given three sets of colors representing the colors used in three different rooms,
 * find the common colors that appear in all three rooms.
 *
 * @param room1 A set of colors used in the first room.
 * @param room2 A set of colors used in the second room.
 * @param room3 A set of colors used in the third room.
 * @return A set of colors that appear in all three rooms.
 *
 * Example:
 * val room1 = setOf("blue", "green", "yellow")
 * val room2 = setOf("red", "blue", "green")
 * val room3 = setOf("blue", "green", "orange")
 * findCommonColors(room1, room2, room3) // Output: setOf("blue", "green")
 */
fun findCommonColors(room1: Set<String>, room2: Set<String>, room3: Set<String>): Set<String> {

    return room1.intersect(room2).intersect(room3)
}