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>
#pragma warning(disable : 4996)
#pragma comment(linker, "/STACK:336777216")
using namespace std;
int IT_MAX = 1 << 17;
int MOD = 1000000007;
const int INF = 0x3f3f3f3f;
const long long LL_INF = 0x3f3f3f3f3f3f3f3f;
const double PI = acos(-1);
const double ERR = 1e-10;
long long mypow(long long a, long long b) {
  long long rv = 1;
  while (b) {
    if (b % 2) rv = rv * a % MOD;
    a = a * a % MOD;
    b /= 2;
  }
  return rv;
}
long long fibl[105];
char in[105];
long long dp[105];
long long dpl[105][105];
long long dpr[105][105];
long long dpc[105][105][105];
int main() {
  int N, X, i, j, k, l;
  scanf("%d %d %s", &N, &X, in + 1);
  fibl[0] = fibl[1] = 1;
  for (i = 2; i <= X; i++) fibl[i] = (fibl[i - 1] + fibl[i - 2]) % (MOD - 1);
  if (N == 1) dp[in[1] - '0'] = 1;
  dpl[in[1] - '0'][1] = 1;
  dpr[in[N] - '0'][N] = 1;
  for (i = 1; i <= N; i++) dpc[in[i] - '0'][i][i] = 1;
  for (i = 2; i <= X; i++) {
    dp[i] = dp[i - 1] * mypow(2, fibl[i - 2]) % MOD;
    dp[i] += dp[i - 2] * mypow(2, fibl[i - 1]) % MOD;
    for (j = 1; j < N; j++) dp[i] += dpl[i - 1][j] * dpr[i - 2][j + 1] % MOD;
    dp[i] %= MOD;
    for (j = 1; j <= N; j++) {
      dpl[i][j] = dpl[i - 2][j] * mypow(2, fibl[i - 1]) % MOD;
      dpl[i][j] += dpl[i - 1][j];
      for (k = 1; k < j; k++)
        dpl[i][j] += dpl[i - 1][k] * dpc[i - 2][k + 1][j] % MOD;
      dpl[i][j] %= MOD;
    }
    for (j = 1; j <= N; j++) {
      dpr[i][j] = dpr[i - 1][j] * mypow(2, fibl[i - 2]) % MOD;
      dpr[i][j] += dpr[i - 2][j];
      for (k = j; k < N; k++)
        dpr[i][j] += dpc[i - 1][j][k] * dpr[i - 2][k + 1] % MOD;
      dpr[i][j] %= MOD;
    }
    for (j = 1; j <= N; j++) {
      for (k = j; k <= N; k++) {
        dpc[i][j][k] = (dpc[i - 1][j][k] + dpc[i - 2][j][k]) % MOD;
        for (l = j; l < k; l++)
          dpc[i][j][k] += dpc[i - 1][j][l] * dpc[i - 2][l + 1][k] % MOD;
        dpc[i][j][k] %= MOD;
      }
    }
  }
  return !printf("%lld\n", dp[X]);
}