Problem: You are given a binary string s (each character of this string is either 0 or 1).

Let's denote the cost of string t as the number of occurences of s in t. For example, if s is 11 and t is 111011, then the cost of t is 3.

Let's also denote the Fibonacci strings sequence as follows:

  * F(0) is 0;
  * F(1) is 1;
  * F(i) = F(i - 1) + F(i - 2) if i > 1, where  +  means the concatenation of two strings.



Your task is to calculate the sum of costs of all subsequences of the string F(x). Since answer may be large, calculate it modulo 109 + 7.

Input

The first line contains two integers n and x (1 ≤ n ≤ 100, 0 ≤ x ≤ 100) — the length of s and the index of a Fibonacci string you are interested in, respectively.

The second line contains s — a string consisting of n characters. Each of these characters is either 0 or 1.

Output

Print the only integer — the sum of costs of all subsequences of the string F(x), taken modulo 109 + 7. 

Examples

Input

2 4
11


Output

14


Input

10 100
1010101010


Output

553403224

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
const long long INFF = 0x3f3f3f3f3f3f3f3fll;
const long long M = 1e9 + 7;
const long long maxn = 1e6 + 7;
const double eps = 0.00000001;
long long gcd(long long a, long long b) { return b ? gcd(b, a % b) : a; }
template <typename T>
inline T abs(T a) {
  return a > 0 ? a : -a;
}
template <typename T>
inline T powMM(T a, T b) {
  T ret = 1;
  for (; b; b >>= 1ll, a = 1ll * a * a % M)
    if (b & 1) ret = 1ll * ret * a % M;
  return ret;
}
int T;
int n, m;
struct matrix {
  int A[107][107];
  matrix() { memset(A, 0, sizeof(A)); }
} F[107];
matrix mul(matrix &A, matrix &B) {
  matrix C;
  int i, j, k;
  for (i = 0; i <= n; i++)
    for (j = 0; j <= n; j++)
      for (k = 0; k <= n; k++)
        C.A[i][j] = ((long long)A.A[i][k] * B.A[k][j] + C.A[i][j]) % M;
  return C;
}
char a[107];
int i, j, k;
int main() {
  int x;
  scanf("%d%d", &n, &x);
  scanf("%s", a);
  for (i = 0; i < n; i++) F[a[i] - '0'].A[i][i + 1] = 1;
  for (i = 0; i < n + 1; i++) F[0].A[i][i] = F[1].A[i][i] = 1;
  F[0].A[0][0]++;
  F[1].A[0][0]++;
  F[0].A[n][n]++;
  F[1].A[n][n]++;
  for (i = 2; i <= x; i++) F[i] = mul(F[i - 1], F[i - 2]);
  printf("%d\n", F[x].A[0][n]);
}