/**
 * Given two interior design tuples, find the common elements between them and return a new tuple with those elements.
 *
 * Example:
 * getCommonElements(listOf("Sofa", "Table", "Chair", "Lamp"), listOf("Chair", "Lamp")) ➞ listOf("Chair", "Lamp")
 */
fun getCommonElements(interiorDesign1: List<String>, interiorDesign2: List<String>): List<String> {

    val commonElements = (interiorDesign1.toSet() intersect interiorDesign2.toSet()).toList()
    return commonElements
}
/**
 * Given two interior design tuples, find the common elements between them and return a new tuple with those elements.
 *
 * Example:
 * getCommonElements(listOf("Sofa", "Table", "Chair", "Lamp"), listOf("Chair", "Lamp")) ➞ listOf("Chair", "Lamp")
 */
fun getCommonElements(interiorDesign1: List<String>, interiorDesign2: List<String>): List<String> {
/**
 * Given two interior design tuples, find the common elements between them and return a new tuple with those elements.
 *
 * Example:
 * getCommonElements(listOf("Sofa", "Table", "Chair", "Lamp"), listOf("Chair", "Lamp")) ➞ listOf("Chair", "Lamp")
 */
fun getCommonElements(interiorDesign1: List<String>, interiorDesign2: List<String>): List<String> {

    val commonElements = (interiorDesign1.toSet() intersect interiorDesign2.toSet()).toList()
    return commonElements
}