/**
 * Given a set and a list of elements, remove the elements from the set and return the modified set.
 *
 * @param givenSet The set from which elements need to be removed.
 * @param elementsToRemove The list of elements to be removed from the set.
 * @return The modified set after removing the specified elements.
 */
fun removeElements(givenSet: Set<Any>, elementsToRemove: List<Any>): Set<Any> {

    // Use the subtract operator to remove elements from the set
    val modifiedSet = givenSet - elementsToRemove.toSet()
    
    return modifiedSet
}
/**
 * Given a set and a list of elements, remove the elements from the set and return the modified set.
 *
 * @param givenSet The set from which elements need to be removed.
 * @param elementsToRemove The list of elements to be removed from the set.
 * @return The modified set after removing the specified elements.
 */
fun removeElements(givenSet: Set<Any>, elementsToRemove: List<Any>): Set<Any> {
/**
 * Given a set and a list of elements, remove the elements from the set and return the modified set.
 *
 * @param givenSet The set from which elements need to be removed.
 * @param elementsToRemove The list of elements to be removed from the set.
 * @return The modified set after removing the specified elements.
 */
fun removeElements(givenSet: Set<Any>, elementsToRemove: List<Any>): Set<Any> {

    // Use the subtract operator to remove elements from the set
    val modifiedSet = givenSet - elementsToRemove.toSet()
    
    return modifiedSet
}