/**
 * You are a fashion designer creating a new collection of tops.
 * You have three types of fabric to choose from - 'cotton', 'silk', and 'linen'.
 *
 * Use the unconditioned ternary operator to create a set containing the tops
 * you want to create with the given fabrics.
 *
 * @param fabricOne A string representing the first fabric choice.
 * @param fabricTwo A string representing the second fabric choice.
 * @param fabricThree A string representing the third fabric choice.
 * @return A set containing the names of the desired tops made with the given fabric choices.
 */
fun createTop(fabricOne: String, fabricTwo: String, fabricThree: String): Set<String> {

    val fabricSet = setOf(fabricOne, fabricTwo, fabricThree)
    val topSet = fabricSet.filter { it !in setOf("cotton", "silk", "linen") }.toSet()
    return if (topSet.isNotEmpty()) topSet else setOf("No valid top names specified")
}
/**
 * You are a fashion designer creating a new collection of tops.
 * You have three types of fabric to choose from - 'cotton', 'silk', and 'linen'.
 *
 * Use the unconditioned ternary operator to create a set containing the tops
 * you want to create with the given fabrics.
 *
 * @param fabricOne A string representing the first fabric choice.
 * @param fabricTwo A string representing the second fabric choice.
 * @param fabricThree A string representing the third fabric choice.
 * @return A set containing the names of the desired tops made with the given fabric choices.
 */
fun createTop(fabricOne: String, fabricTwo: String, fabricThree: String): Set<String> {
/**
 * You are a fashion designer creating a new collection of tops.
 * You have three types of fabric to choose from - 'cotton', 'silk', and 'linen'.
 *
 * Use the unconditioned ternary operator to create a set containing the tops
 * you want to create with the given fabrics.
 *
 * @param fabricOne A string representing the first fabric choice.
 * @param fabricTwo A string representing the second fabric choice.
 * @param fabricThree A string representing the third fabric choice.
 * @return A set containing the names of the desired tops made with the given fabric choices.
 */
fun createTop(fabricOne: String, fabricTwo: String, fabricThree: String): Set<String> {

    val fabricSet = setOf(fabricOne, fabricTwo, fabricThree)
    val topSet = fabricSet.filter { it !in setOf("cotton", "silk", "linen") }.toSet()
    return if (topSet.isNotEmpty()) topSet else setOf("No valid top names specified")
}