1079: 能被3或5整除个数

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

Description

输入一个整数n,接下来输入n个整数,要求输出能被3或5整除个数。

Input

5
1
3
5
7
9

Output

3

Sample Input Copy

10
1
2
3
4
5
6
7
8
9
10

Sample Output Copy

5