Any hint would be appreciated..
package com.codegym.task.task06.task0606;
import java.io.*;
/*
Even and odd digits
*/
import java.io.*;
public class Solution {
public static int even;
public static int odd;
public static void main(String[] args) throws IOException {
BufferedReader BR = new BufferedReader(new InputStreamReader(System.in));
for(int a=0; a<100; a++){
a = Integer.parseInt(BR.readLine());
if(a%2==0)
even++;
if(a%2!=0)
odd++;
}
System.out.println("Even: " + even + " Odd: " + odd);
}
}