Module: (C++) Data processing in a loop. Anchoring


Problem

1 /9


We process the digits of the number - 1

Problem

Given a natural number N. Determine the number of its digits that are multiples of z

Input 
Enter two numbers separated by a space, first a natural number N, then - z (\(0< z <=9\) ).

Imprint 
Print the answer to the problem.
 

 

Examples
# Input Output
1 432 2 2