Count length-L lowercase strings that contain the given word S as a contiguous substring, modulo 1,000,000,009.
You are given a word SSS made of lowercase letters. Count the strings of length LLL that consist only of lowercase letters and contain SSS as a substring.
A substring is a contiguous block of characters.
The first line contains the length LLL (1≤L≤1001 \le L \le 1001≤L≤100).
The second line contains the word SSS. It consists only of lowercase letters and its length is at most 100.
Print the number of such strings modulo 1,000,000,009 on the first line.