/**
 * Given a set of numbers and an excluded number, write a function that removes any duplicates from the set
 * and returns the resulting set of unique numbers. Additionally, the function should exclude the given excluded number
 * from the resulting set.
 *
 * @param numbers A set of integers representing numbers.
 * @param excludedNumber An integer representing a number to be excluded from the resulting set.
 * @return A set of unique numbers from the original set, excluding the excludedNumber.
 */
fun removeDuplicates(numbers: Set<Int>, excludedNumber: Int): Set<Int> {

    val uniqueNumbers = mutableSetOf<Int>()

    for (number in numbers) {
        if (number != excludedNumber) {
            uniqueNumbers.add(number)
        }
    }

    return uniqueNumbers
}
/**
 * Given a set of numbers and an excluded number, write a function that removes any duplicates from the set
 * and returns the resulting set of unique numbers. Additionally, the function should exclude the given excluded number
 * from the resulting set.
 *
 * @param numbers A set of integers representing numbers.
 * @param excludedNumber An integer representing a number to be excluded from the resulting set.
 * @return A set of unique numbers from the original set, excluding the excludedNumber.
 */
fun removeDuplicates(numbers: Set<Int>, excludedNumber: Int): Set<Int> {
/**
 * Given a set of numbers and an excluded number, write a function that removes any duplicates from the set
 * and returns the resulting set of unique numbers. Additionally, the function should exclude the given excluded number
 * from the resulting set.
 *
 * @param numbers A set of integers representing numbers.
 * @param excludedNumber An integer representing a number to be excluded from the resulting set.
 * @return A set of unique numbers from the original set, excluding the excludedNumber.
 */
fun removeDuplicates(numbers: Set<Int>, excludedNumber: Int): Set<Int> {

    val uniqueNumbers = mutableSetOf<Int>()

    for (number in numbers) {
        if (number != excludedNumber) {
            uniqueNumbers.add(number)
        }
    }

    return uniqueNumbers
}