/**
 * This exercise requires you to iterate over a specific range of numbers and perform XOR operation on them.
 *
 * @param numbers A list of numbers
 * @param start The start index of the range
 * @param end The end index of the range
 * @return The XOR result of all numbers in the specified range
 */
fun xorOperation(numbers: List<Int>, start: Int, end: Int): Int {

    var result = 0

    for (i in start..end) {  // iterating over the specified range
        result = result xor numbers[i]  // performing XOR operation
    }

    return result
}

// Example usage
/**
 * This exercise requires you to iterate over a specific range of numbers and perform XOR operation on them.
 *
 * @param numbers A list of numbers
 * @param start The start index of the range
 * @param end The end index of the range
 * @return The XOR result of all numbers in the specified range
 */
fun xorOperation(numbers: List<Int>, start: Int, end: Int): Int {
/**
 * This exercise requires you to iterate over a specific range of numbers and perform XOR operation on them.
 *
 * @param numbers A list of numbers
 * @param start The start index of the range
 * @param end The end index of the range
 * @return The XOR result of all numbers in the specified range
 */
fun xorOperation(numbers: List<Int>, start: Int, end: Int): Int {

    var result = 0

    for (i in start..end) {  // iterating over the specified range
        result = result xor numbers[i]  // performing XOR operation
    }

    return result
}

// Example usage