Control C201C

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

Input

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

Output

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

Problem information

Author: Unknown
Translator: Carlos Molina

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

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