/**
 * This function takes a set as input and converts it into a list, tuple, and dictionary.
 */
fun convertSetsToData(data: Set<Any>): Triple<List<Any>, Set<Any>, Map<Any, Any>> {

    // Convert the set into a list
    val listData = data.toList()

    // Convert the set into a tuple (Kotlin does not have built-in tuple type, so using Set instead)
    val tupleData = data.toSet()

    // Convert the set into a dictionary
    val dictData = data.associateWith { it }

    return Triple(listData, tupleData, dictData)
}
/**
 * This function takes a set as input and converts it into a list, tuple, and dictionary.
 */
fun convertSetsToData(data: Set<Any>): Triple<List<Any>, Set<Any>, Map<Any, Any>> {
/**
 * This function takes a set as input and converts it into a list, tuple, and dictionary.
 */
fun convertSetsToData(data: Set<Any>): Triple<List<Any>, Set<Any>, Map<Any, Any>> {

    // Convert the set into a list
    val listData = data.toList()

    // Convert the set into a tuple (Kotlin does not have built-in tuple type, so using Set instead)
    val tupleData = data.toSet()

    // Convert the set into a dictionary
    val dictData = data.associateWith { it }

    return Triple(listData, tupleData, dictData)
}