Module: (Python) Conditional statement


Problem

16 /17


Bob counts the digits

Problem

Bob thought of something to do while he was waiting in line at the front desk of the clinic. Looking at the ticket numbers of the people sitting next to him (all tickets have a four-digit number), he decided to count how many tickets have a number with an even sum of digits. When Bob's turn came, he had already discerned the numbers of 4 tickets.
Write a program that will help Bob.

Input format
The input to the program is four four-digit numbers, each on its own line.

Output format
Output one number - answer to the problem.
 
Example
N Input Output
1 1353
2349
6983
6346
3