Number of even elements in a two-dimensional array#9572

Number of even elements in a two-dimensional array

1 second
128 megabytes
Very easy

A two-dimensional array of size n \cdot m 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 lines are given with numbers — the elements of the array.

Output

Print one number — the number of even elements in the array.

Examples

Example 1

Loading
Loading