SP21804 NUMVN - Multiples

Description

**English**: Given three positive integers X, A, B and a string consists of distinct digits \[0..9\]. Calculate the number of multiples of X in range \[A..B\] using only digits in the provided string. **Vietnamese**: Cho 3 số nguyên dương X, A, B và một xâu chỉ chứa các chữ số phân biệt trong đoạn \[0..9\]. Tính số lượng bội số của X trong đoạn \[A..B\] mà chỉ gồm các chữ số trong xâu đã cho.

Input Format

**English**: The first line contain 3 positive integer X, A, B (X

Output Format

**English**: One line containing the answer. **Vietnamese**: Một dòng duy nhất chứa kết quả.