You are given an array A of N integers. Each integer is a single digit number in the range [09]. You are also given a number K. Now, you need to count how many subsequences of the array A exist such that they form a K digit valid number.
A subsequence of size K is called a valid number if there are no leading zeros in the number formed.
Notes:
Input Fomat
The first line contains an integer N as input denoting the size of the array.
Next line contains N space separated integers that denote elements of the array.
Next line contains an integer K.
Output Format
In the output, you need to print the count of valid K digit numbers modulo 720720.
Constraints
1≤N≤105
1≤K≤30
0≤Ai≤9
In the given sample following are the possible subsequences that form a valid 3 digit number.
[1,2,3]=110
[1,2,4]=111
[1,2,5]=110
[1,3,4]=101
[1,3,5]=100
[1,4,5]=110
[2,3,4]=101
[2,3,5]=100
[2,4,5]=110