시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 256 MB 2 2 2 100.000%

## 문제

Byteasar is a well known Byteotian prankster -- he earns a living arranging various funny situations, which he then documents in the form of videos posted on the internet. This time he has targeted a huge neon sign on the roof of a prestigious hotel with a very long name.

The neon sign $w$ displaying the name of the hotel, contains $n$ letters. Byteasar intends to break in onto the hotel roof during the night to switch off some of the neon letters so that remaining letters, read from left to right, comprise some very funny, $m$-letter word $s$. In order to obtain an attractive effect, the position of the last lit letter and the first lit letter must not differ by less than $k$. The prankster wonders what is the number of ways he can switch off some of the letters in order to achieve his goal.

Formally, he is interested in the number of ways in which it is possible to choose indices $j_1,j_2,\ldots,j_m$ from the range $[1,n]$, so that $j_1<j_2<\ldots<j_m$, $j_m-j_1\geq k$ and $w_{j_1}w_{j_2}\ldots w_{j_m}=s$, where $w_i$ denotes $i$-th letter of the string $w$. The indices $j_1,j_2,\ldots,j_m$ correspond to the positions of letters which will remain lit.

## 입력

The first line of the input contains three integers $n$, $m$, $k$ ($1\leq k\leq n\leq 100\,000$, $1\leq m\leq 10$). The second line contains an $n$-letter word $w$ displayed on the hotel's roof. The third line contains an $m$-letter word $s$ to be displayed after switching off some of letters. Words $w$ and $s$ consist solely of lower-case letters of the English alphabet $(a-z)$.

## 출력

The only line of the output should contain the sought number of ways Byteasar can achieve his goal, modulo $10^9+7$.

## 예제 입력 1

13 3 5
longlonghotel
lol


## 예제 출력 1

5


## 힌트

In the example, Byteasar can leave the lit letters on one of the following position sets: $\{1,2,13\}$, $\{1,6,13\}$, $\{1,10,13\}$, $\{5,6,13\}$, $\{5,10,13\}$.