/**
 * This function removes specified items from a sorted set using division assignment operator.
 *
 * @param sortedSet A sorted set of items.
 * @param itemsToRemove A list of items to be removed from the set.
 * @return The modified sorted set after removing the specified items.
 */
fun removeItemsFromSet(sortedSet: MutableSet<Int>, itemsToRemove: List<Int>): MutableSet<Int> {

    // Convert the list of items to a set for efficient operations
    val itemsToRemoveSet = itemsToRemove.toSet()

    // Use division assignment operator to remove the items from the sorted set
    sortedSet -= itemsToRemoveSet

    return sortedSet
}

// Example usage
/**
 * This function removes specified items from a sorted set using division assignment operator.
 *
 * @param sortedSet A sorted set of items.
 * @param itemsToRemove A list of items to be removed from the set.
 * @return The modified sorted set after removing the specified items.
 */
fun removeItemsFromSet(sortedSet: MutableSet<Int>, itemsToRemove: List<Int>): MutableSet<Int> {
/**
 * This function removes specified items from a sorted set using division assignment operator.
 *
 * @param sortedSet A sorted set of items.
 * @param itemsToRemove A list of items to be removed from the set.
 * @return The modified sorted set after removing the specified items.
 */
fun removeItemsFromSet(sortedSet: MutableSet<Int>, itemsToRemove: List<Int>): MutableSet<Int> {

    // Convert the list of items to a set for efficient operations
    val itemsToRemoveSet = itemsToRemove.toSet()

    // Use division assignment operator to remove the items from the sorted set
    sortedSet -= itemsToRemoveSet

    return sortedSet
}

// Example usage