Problems
546 - Count Odd & Even
SUBMIT PROBLEM

Count Odd & Even

Time Limit: 0.5 sec

 

The Problem

An integer is a whole number (not a fractional number) that can be positive, negative, or zero.

An integer number will be given. Your task is to count the total even number & the odd number of that number.

 

Example

A number 12345 is given

Here 2 digits are even and 3 digits are odd number.

 

The Input

The Input file contains several lines. Each line contains a single integer N (N <= 10^100). Input is terminated by EOF.

 

The Output

For each line of input output will print the total even number of odd number in a separate line.

 

Sample Input

12345

123

 

Sample Output

There are 2 Even digits & 3 Odd digits

There are 1 Even digits & 2 Odd digits

 

 

 

 

Problem Setter: Samia Safa Ahmed