public class Solution { public static int even; public static int odd; public static void main(String[] args) throws IOException { //напишите тут ваш код BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int y = Integer.parseInt(reader.readLine()); while (y/10>0) if (y % 2 == 0) { even ++; } else { odd ++; } System.out.println("Even: " + even + " Odd: " + odd); } }