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 mod = 1000000007;
const int maxn = 111;
int n, x;
long long dp[maxn][maxn][maxn];
long long _pow2[maxn];
char str[maxn];
void run() {
  scanf("%s", str);
  memset(dp, 0, sizeof dp);
  for (int i = 0; i < n; i++) {
    if (str[i] == '0')
      dp[0][i + 1][i + 1] = 1;
    else
      dp[1][i + 1][i + 1] = 1;
  }
  for (int i = 2; i <= x; i++) {
    int _l = i - 1;
    int _r = i - 2;
    for (int j = 1; j <= n; j++)
      for (int k = j; k <= n; k++) {
        if (dp[_l][j][k]) {
          long long temp = dp[_l][j][k];
          if (k == n) temp = temp * _pow2[_r] % mod;
          dp[i][j][k] = (dp[i][j][k] + temp) % mod;
          for (int h = k + 1; h <= n; h++) {
            dp[i][j][h] = (dp[i][j][h] + dp[_l][j][k] * dp[_r][k + 1][h]) % mod;
          }
        }
        if (dp[_r][j][k]) {
          long long temp = dp[_r][j][k];
          if (j == 1) temp = temp * _pow2[_l] % mod;
          dp[i][j][k] = (dp[i][j][k] + temp) % mod;
        }
      }
  }
  cout << dp[x][1][n] << endl;
}
int main() {
  _pow2[0] = _pow2[1] = 2;
  for (int i = 2; i < maxn; i++) _pow2[i] = _pow2[i - 1] * _pow2[i - 2] % mod;
  while (cin >> n >> x) run();
  return 0;
}