Count Multiples of 7

Python Easy 3 views
Back to Questions

Problem Description

Read n integers. Count how many are divisible by 7 and output the count.

Input Format

First line n. Second line n integers.

Output Format

One integer count.

Sample Test Case

Input:
6 7 14 3 0 21 8
Output:
4

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next