/**
 * This function takes a list of numbers and a list of excluded numbers, and returns a list
 * of numbers from the original list that are not in the exclusion list.
 *
 * @param numbers A list of numbers.
 * @param exclusionList A list of numbers to be excluded from the original list.
 * @return A list of numbers from the original list that are not in the exclusion list.
 *
 * Example:
 * rangeComparison(listOf(1, 2, 3, 4, 5), listOf(2, 4)) // [1, 3, 5]
 */
fun rangeComparison(numbers: List<Int>, exclusionList: List<Int>): List<Int> {

    val result = mutableListOf<Int>()

    for (num in numbers) {
        if (num !in exclusionList) {
            result.add(num)
        }
    }

    return result
}
/**
 * This function takes a list of numbers and a list of excluded numbers, and returns a list
 * of numbers from the original list that are not in the exclusion list.
 *
 * @param numbers A list of numbers.
 * @param exclusionList A list of numbers to be excluded from the original list.
 * @return A list of numbers from the original list that are not in the exclusion list.
 *
 * Example:
 * rangeComparison(listOf(1, 2, 3, 4, 5), listOf(2, 4)) // [1, 3, 5]
 */
fun rangeComparison(numbers: List<Int>, exclusionList: List<Int>): List<Int> {
/**
 * This function takes a list of numbers and a list of excluded numbers, and returns a list
 * of numbers from the original list that are not in the exclusion list.
 *
 * @param numbers A list of numbers.
 * @param exclusionList A list of numbers to be excluded from the original list.
 * @return A list of numbers from the original list that are not in the exclusion list.
 *
 * Example:
 * rangeComparison(listOf(1, 2, 3, 4, 5), listOf(2, 4)) // [1, 3, 5]
 */
fun rangeComparison(numbers: List<Int>, exclusionList: List<Int>): List<Int> {

    val result = mutableListOf<Int>()

    for (num in numbers) {
        if (num !in exclusionList) {
            result.add(num)
        }
    }

    return result
}