Control C201C

Your task is to write a program that reads an integer strictly positive
x and a sequence of integers, and prints how many elements of the
sequence are multiple of x.

Input

The input is an integer x > 0 followed by a sequence of integers.

Output

Your program must print the number of elements of the sequence that are
multiple of x.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T10:21:52.248Z

© Jutge.org, 2006–2026.
https://jutge.org
