1077: 能被3整除的个数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:17 Solved:14

Description

第一行输入一个整数n
接下来输入n个整数
要求输出这n个整数中能被3整除的个数。

Input

3

5
6

Output

2

Sample Input Copy

5
1
3
5
7
9

Sample Output Copy

2