/**
 * Given two lists, this function appends the unique elements from both lists into a set and returns it.
 *
 * @param list1 the first list
 * @param list2 the second list
 * @return A set consisting of unique elements from both lists
 */
fun appendUniqueElements(list1: List<Any>, list2: List<Any>): Set<Any> {

    val uniqueSet = list1.toSet() // initializing a set with elements from list1

    // TODO: Add the unique elements from list2 to the uniqueSet set
    // Use appropriate set functions to add the unique elements from list2

    return uniqueSet
}
/**
 * Given two lists, this function appends the unique elements from both lists into a set and returns it.
 *
 * @param list1 the first list
 * @param list2 the second list
 * @return A set consisting of unique elements from both lists
 */
fun appendUniqueElements(list1: List<Any>, list2: List<Any>): Set<Any> {
/**
 * Given two lists, this function appends the unique elements from both lists into a set and returns it.
 *
 * @param list1 the first list
 * @param list2 the second list
 * @return A set consisting of unique elements from both lists
 */
fun appendUniqueElements(list1: List<Any>, list2: List<Any>): Set<Any> {

    val uniqueSet = list1.toSet() // initializing a set with elements from list1

    // TODO: Add the unique elements from list2 to the uniqueSet set
    // Use appropriate set functions to add the unique elements from list2

    return uniqueSet
}