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: import java.io.*;
import java.util.*;



class Main {
    public static void main (String[] args) {

        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int arr[] = new int[N];
        for(int i=0; i<N; i++){
            arr[i]= sc.nextInt();
        }
        int sum =0;
        for(int i=0; i<N; i++){
            sum+=arr[i];
        }
        if(sum%2 == 0){
            System.out.println("EVEN");
        }else{
            System.out.println("ODD");
        }
    }
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?