For this Question: Consider an array of N integers initially carrying all values as 0. You will traverse the array N times and in each traversal, you will apply the operation as <b>1- Arr[i]</b>. i.e. you will change the value to 1 if the current value is 0 or change the value to 0 if the current value is 1. You will traverse the array as described below:-
In first go :- 1, 2, 3, 4, 5,. .. .. . N
In Second go:- 2, 4, 6, 8, 10,. .. .. N
In third go:- 3, 6, 9, 12,. .. .. . N
and so on. till the Nth go
Your task is to tell the number of 1 in the array after the Nth go.Input contains a single integer N.

Constraints:-
1 < = N < = 10<sup>14</sup>Print the number of 1 after the Nth traverse.Sample Input:-
4

Sample Output:-
2

Explanation:-
initially array will be :- 0 0 0 0
After 1st go :- 1 1 1 1
After 2nd go :- 1 0 1 0
After 3rd go :- 1 0 0 0
After 4th go:- 1 0 0 1

Sample Input:-
2

Sample Output:-
1, I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {
	public static void main (String[] args) throws IOException {
		BufferedReader scan=new BufferedReader(new InputStreamReader(System.in));
		long n=Long.parseLong(scan.readLine());
		long ans=(long)Math.sqrt(n);
		System.out.println(ans);

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