2047: 【循环基础】统计偶数的个数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:204 Solved:176

Description

输入n个正整数,输出这n个数中偶数的个数。

Input

两行,第一行个数,第二行N个正整数。

Output

一行,包含一个整数,表示n中的所有偶数。

Sample Input Copy

5
79 90 2 3 100

Sample Output Copy

3

Source/Category