/**
 * This function takes two sets as input and returns their union.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return The union of set1 and set2.
 */
fun unionOfSets(set1: Set<*>, set2: Set<*>): Set<*> {

    val unionSet = set1.union(set2)
    return unionSet
}
/**
 * This function takes two sets as input and returns their union.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return The union of set1 and set2.
 */
fun unionOfSets(set1: Set<*>, set2: Set<*>): Set<*> {
/**
 * This function takes two sets as input and returns their union.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return The union of set1 and set2.
 */
fun unionOfSets(set1: Set<*>, set2: Set<*>): Set<*> {

    val unionSet = set1.union(set2)
    return unionSet
}