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;
string s;
long long expo(long long base, long long exponent, long long mod) {
  long long ans = 1;
  while (exponent != 0) {
    if ((exponent & 1) == 1) {
      ans = ans * base;
      ans = ans % mod;
    }
    base = base * base;
    base %= mod;
    exponent >>= 1;
  }
  return ans % mod;
}
long long dp[4][105][105][105];
int len[105];
long long get(int f, int i, int l, int r) {
  if (dp[f][i][l][r] >= 0) return dp[f][i][l][r];
  if (i == 0) {
    if (l == r and s[l] == '0') return 1;
    return 0;
  }
  if (i == 1) {
    if (l == r and s[l] == '1') return 1;
    return 0;
  }
  if (f == 0) {
    long long ans = 0;
    ans = (ans + get(0, i - 1, l, r) * expo(2, len[i - 2], 1000000007)) %
          1000000007;
    ans = (ans + get(0, i - 2, l, r) * expo(2, len[i - 1], 1000000007)) %
          1000000007;
    for (int j = l + 1; j <= r; j++) {
      ans = (ans + get(2, i - 1, l, j - 1) * get(1, i - 2, j, r)) % 1000000007;
    }
    dp[f][i][l][r] = ans;
    return ans;
  } else if (f == 1) {
    long long ans = 0;
    ans = (ans + get(1, i - 1, l, r) * expo(2, len[i - 2], 1000000007)) %
          1000000007;
    ans = (ans + get(1, i - 2, l, r)) % 1000000007;
    for (int j = l + 1; j <= r; j++) {
      ans = (ans + get(3, i - 1, l, j - 1) * get(1, i - 2, j, r)) % 1000000007;
    }
    dp[f][i][l][r] = ans;
    return ans;
  } else if (f == 2) {
    long long ans = 0;
    ans = (ans + get(2, i - 2, l, r) * expo(2, len[i - 1], 1000000007)) %
          1000000007;
    ans = (ans + get(2, i - 1, l, r)) % 1000000007;
    for (int j = l + 1; j <= r; j++) {
      ans = (ans + get(2, i - 1, l, j - 1) * get(3, i - 2, j, r)) % 1000000007;
    }
    dp[f][i][l][r] = ans;
    return ans;
  } else {
    long long ans = 0;
    ans = (ans + get(3, i - 1, l, r) + get(3, i - 2, l, r)) % 1000000007;
    for (int j = l + 1; j <= r; j++) {
      ans = (ans + get(3, i - 1, l, j - 1) * get(3, i - 2, j, r)) % 1000000007;
    }
    dp[f][i][l][r] = ans;
    return ans;
  }
}
void solve() {
  memset(dp, -1, sizeof dp);
  int n, x;
  cin >> n >> x;
  cin >> s;
  cout << get(0, x, 0, n - 1);
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  len[0] = 1;
  len[1] = 1;
  for (int i = 2; i < 105; i++)
    len[i] = (len[i - 1] + len[i - 2]) % (1000000007 - 1);
  int t = 1;
  while (t--) {
    solve();
  }
  return 0;
}