#67. countEvens

countEvens

Background

Description

Return the number of even ints in the given array. Note: the % "mod" operator computes the remainder, e.g. 5 % 2 is 1.

Format

Input

Output

Samples

[2 1 2 3 4]
3
[2 2 0]
3
[1 3 5]
0

Limitation

1s, 1024KiB for each test case.