Numbers
Solving the problem of computer science, Vova has once again made a mistake. He again brought up in the output file number, forgetting to separate them by spaces. Seeing the result, Vova was upset at first, and then pondered the following question: how many there are different sequences of integers, such that if you write them with no spaces, one obtains the same result as that of him. He also remembered that his program was able to deduce not arbitrary numbers, but only those that do not exceed C and have no leading zeros.
To answer the question, Vova decided to write a program that will allow him to find a number of different sequences of integers, each of which any number does not exceed C. He understood that this number could be quite large, so restrict your search to the last k digits of this number.
Need to write a program that will Vova, how can they correctly solve the problem.
Input
The first line of the input file contains three integers — n, C and k (1 ≤ n ≤ 50000, 1 ≤ C ≤ 10^8, 1 ≤ k ≤ 18). In the second line of this file contains the result of Vovinam program, consisting of n digits.
Output
In the output file print out the last k digits of the desired number of sequences without leading zeros.