package com.company; import java.io.*; import java.util.*; public class Solution { public static int even; public static int odd; public static void main(String[] args) throws Exception { BufferedReader r= new BufferedReader(new InputStreamReader(System.in)); int x=Integer.parseInt(r.readLine()); List <Integer> arr=new ArrayList<>(); while(x!=0){ arr.add(x%10); x/=10; } for(double d:arr){ if(d%2==0)even++;else odd++; }System.out.println("Even: "+even+ "Odd: "+odd); } }