Number of even elements in a two-dimensional array
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
A two-dimensional array of size is given. Find the number of even elements in it.
Input
The first line contains two numbers and — the number of rows and the number of columns, respectively. Then given lines with numbers — the elements of the array.
Output
Print the number of even elements in the array.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 71%