For this Question: Given an array of N integers, You can perform the following operation on the array if all the elements in the array are even:-
Divide each element of the array by 2.
Can you find the maximum number of operations you can perform.The first line of input contains a single integer N. The next line of input contains N space separated integers.

<b>Constraints;-</b>
1 &le; N &le; 10<sup>5</sup>
1 &le; Arr[i] &le; 100000Print the number of operations you can perform on the array.Sample Input:-
5
4 64 28 12 28

Sample Output:-
2

Sample Input:-
5
2 4 6 8 1

Sample Output:-
0

In test case 1,after dividing 4 two times,we will have 1 in the first position,which is odd and therefore,cannot be divided further. Therefore, our answer will be 2., I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {
    public static boolean isDivisible(int[] arr){
        boolean bl = true;
        for(int i=0; i<arr.length; i++){
            if((arr[i]&1)!=0){
                bl = false;
            }
        }
        return bl;
    }

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

        InputStreamReader reader = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(reader);

        int sizeOfArray = Integer.parseInt(br.readLine());
        String[] str = br.readLine().trim().split(" ");
        int[] arr = new int[str.length];
        for(int i=0; i<arr.length; i++){
            arr[i] = Integer.parseInt(str[i]);
        }

        int numberOfOperation = 0;
        while(isDivisible(arr)){
            numberOfOperation++;
            for(int i=0; i<arr.length; i++){
                arr[i] /= 2;
            }
        }

        System.out.println(numberOfOperation);
    }
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?