You are given N words made of lowercase letters and two integers C and L.
Count the strings of length L that contain exactly C of the N given words as a substring. The strings you count are also made of lowercase letters only.
Input
The first line contains N, C, and L, separated by spaces. (1≤N≤6, 0≤C≤N, 1≤L≤50)
Each of the next N lines contains one word. Every word is made of lowercase letters and has length between 1 and 50. No word is given twice.
Output
Print the number of such strings modulo 1,000,000,009 on the first line.