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 maxn = 1000010;
const long long mod = 1e9 + 7;
const long long INF = 100000000000000LL;
const double PI = acos(-1.0);
long long dp[3][110][110];
long long inffib[110], modlen[110];
char s[110];
long long quick_power(long long a, long long n, long long m = mod) {
  long long sum = 1;
  while (n) {
    if (n & 1) sum = sum * a % m;
    a = a * a % m;
    n >>= 1;
  }
  return sum;
}
int solve() {
  modlen[0] = 1, modlen[1] = 1;
  for (int i = 2; i <= 100; i++)
    modlen[i] = (modlen[i - 1] + modlen[i - 2]) % (mod - 1);
  for (int i = 0; i <= 100; i++)
    inffib[i] = quick_power(2ll, modlen[i] + mod - 1, mod);
  int n, x;
  cin >> n >> x;
  memset(dp, 0, sizeof(dp));
  cin >> s + 1;
  int len = strlen(s + 1);
  for (int i = 1; i <= len; i++) {
    if (s[i] == '0')
      dp[0][i][i] += 1;
    else
      dp[1][i][i] += 1;
  }
  if (x == 0) {
    cout << dp[0][1][len] << endl;
    return 0;
  } else if (x == 1) {
    cout << dp[1][1][len] << endl;
    return 0;
  }
  for (int i = 2; i <= x; i++) {
    for (int tlen = 1; tlen <= len; tlen++) {
      for (int l = 1, r = tlen; r <= len; l++, r++) {
        if (l == 1)
          dp[2][l][r] = dp[0][l][r] * inffib[i - 1] % mod;
        else
          dp[2][l][r] = dp[0][l][r];
        if (r == len)
          dp[2][l][r] = (dp[2][l][r] + dp[1][l][r] * inffib[i - 2] % mod) % mod;
        else
          dp[2][l][r] = (dp[2][l][r] + dp[1][l][r]) % mod;
        for (int k = l; k + 1 <= r; k++) {
          dp[2][l][r] =
              (dp[2][l][r] + dp[1][l][k] * dp[0][k + 1][r] % mod) % mod;
        }
      }
    }
    for (int tlen = 1; tlen <= len; tlen++) {
      for (int l = 1, r = tlen; r <= len; l++, r++) {
        dp[0][l][r] = dp[1][l][r], dp[1][l][r] = dp[2][l][r], dp[2][l][r] = 0;
      }
    }
  }
  cout << dp[1][1][len] << endl;
  return 0;
}
int main() {
  long long t = 1e18;
  while (t--) {
    if (!solve()) break;
  }
  int mark_EOF;
  if (scanf("%d", &mark_EOF) == EOF) return 0;
  return 0;
}