For this Question: We define "EVEN" array as an array whose sum of elements is even. Similarly, we define "ODD" array as an array whose sum of elements is odd. Given an array A of N integers, find whether the given array is ODD or EVEN.The first line of the input contains a single integer N.
The second line of the input contains N space seperated integers.

Constraints:
1 <= N <= 10<sup>5</sup>
1 <= A<sub>i</sub> <= 10<sup>9</sup>Print "EVEN" if the given array is an even array, else print "ODD", without the quotes.Sample Input:
5
4 6 3 7 2

Sample Output:
EVEN, I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;
#define int long long

signed main(){
    int n;
    cin >> n;
    vector<int> a(n);
    for(auto &i : a) cin >> i;
    int sum = 0;
    for(int i = 0; i < n; i++){
        sum += a[i];
    }
    cout << (sum % 2 ? "ODD" : "EVEN");
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?