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
Запрещенные операторы: break
; list
; [