Numbers#464

Numbers

2 seconds
64 megabytes
Very easy

Solving a computer science problem, Vovchyk once again made a mistake: he printed out the numbers without separating them by spaces. When he saw the result, Vovchyk was first upset, then wondered: how many different sequences of non-negative integers exist such that if you write them together (without spaces) you get exactly the same sequence of digits that he has? He also recalled that his program could output only numbers not exceeding and with no leading zeros.

To answer this question, Vovchyk decided to write a program to find the number of such different sequences of non-negative integers, each not exceeding , whose concatenation yields exactly the given sequence of digits. Since this number can be very large, you only need to output its last digits.

Input

The first line contains three integers , and (1 \leq n \leq 50000, 1 \leq c \leq 10^8, 1 \leq k \leq 18). The second line contains the result of Vovchyk's program, a sequence of digits.

Output

Print the last digits of the number of such sequences (none of the numbers in the sequences, nor the answer, may have leading zeros).

Examples

Example 1

Loading
Loading