????
package com.codegym.task.task06.task0606;
import java.io.*;
import java.util.Scanner;
/*
Even and odd digits
*/
public class Solution {
public static int even;
public static int odd;
public static void main(String[] args) throws IOException {
Scanner sc = new Scanner(System.in);
int even = 0;
int odd = 0;
int n = sc.nextInt();
while (n != 0) {
int x = n % 10;
if (x % 2 == 0) {
even++;
}
if (x % 2 != 0) {
odd++;
}
n /= 10;
}
System.out.println("Even: " + even + " Odd: " + odd);
//write your code here
}
}