For this Question: Equality is eternal.
Given an integer n, find out whether we can divide 1, 2, 3..., n into two sets of equal sums.The only input line contains an integer n.

Constraints
1 <= n <= 1000000000Print "YES", if the division is possible, and "NO" otherwise.Sample Input
7

Sample Output 
YES

Sample Input
6

Sample Output 
NO

Explanation: In first sample, the division can be {1, 6, 7}, {2, 3, 4, 5}., I have written this Solution Code: import java.io.*;
import java.util.*;



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



        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        long n = Integer.parseInt(br.readLine());

        long n1 = (n+1)/2;
        if((n1&1)==0){
            System.out.print("YES");
        }else{
            System.out.print("NO");

        }

	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?