import java.util.*;
public class EvenOddInArray{
public static void main(String args []){
int my_arr[]={1,3,4,6,5,8,9,19,21,23,24,34};
int even = 0;
int odd =0;
for(int i=0;i<my_arr.length;i++){
if(my_arr[i]%2==0){
even = even+1;
} else{
odd = odd+1;
}
}
System.out.println("Total count of even element in the given array is : "+"\n"+even);
System.out.println("Total count of Odd element in the given array is : "+"\n"+odd);
}
}