hint please
package com.codegym.task.task06.task0606;
import java.io.*;
/*
Even and odd digits
*/
public class Solution {
public static int even=0;
public static int odd=0;
public static void main(String[] args) throws IOException {
BufferedReader rid = new BufferedReader(new InputStreamReader(System.in));
int num = Integer.parseInt(rid.readLine());
if(num%2==0){
even++;
}
else if(num%2!=0){
odd++;
}
System.out.println("Even: " + even + " Odd: " + odd);
//write your code here
}
}