Task
Time limit: 1000 ms,
Memory limit: 256 Mb

Vasily came up with a lesson while sitting in line at the clinic outpatient registry. Considering the coupon numbers of people sitting nearby (all coupons have a four-digit number), he decided to calculate how many coupons have a number with an even sum of numbers. When Vasily’s turn came, he already made out the numbers of 4 coupons.
Write a program that will help Vasily.
Input: four four-digit numbers are fed to the program input, each in its own line
Output: you need to output one number

Example
Input Output
1 1353
2349
6983
6346
3

Prohibited statements:else;and;not

Auto CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:

Rules for designing programs and a list of errors during automatic task verification
           

Results: