Help me in solving MISSP problem

My issue

used only 5 iterations, even though time is exceeding…

My code

// your code goes here

function processData(input) {

    var N = Number(input.split("\n")[1])
    var count = 0
    var arr = []
    for(let i = 2; i < N+2; i++){
        
        if(input.split("\n")[i] % 2 != 0){
            count++
        }
        
    }
    
    console.log(count)
} 

process.stdin.resume();
process.stdin.setEncoding("ascii");
_input = "";
process.stdin.on("data", function (input) {
    _input += input;
});

process.stdin.on("end", function () {
  processData(_input);
});

Learning course: Arrays, Strings & Sorting
Problem Link: Practice Problem in - CodeChef

@naveen_doddi
calculate the xor of the whole array and the result would be the correct answer .