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;
int visit[120][120][120];
long long dp[120][120][120];
long long boo[1234], haha[1234];
long long n, x;
string s;
long long compute(int ind, int l, int r) {
  if (ind == 0 || ind == 1) {
    if (l < r) {
      return 0;
    } else if (l > r) {
      if (r == n - 1) return 2;
      return 1;
    } else {
      if ((s[l] - '0') == ind) return 1;
      return 0;
    }
  }
  if (visit[ind][l][r]) return dp[ind][l][r];
  visit[ind][l][r] = 1;
  int i;
  long long ans = 0;
  if (l == 0)
    ans = haha[ind - 1] * compute(ind - 2, l, r);
  else
    ans = compute(ind - 2, l, r);
  ans %= (1000 * 1000 * 1000 + 7);
  for (i = l; i < r; i++) {
    ans += compute(ind - 1, l, i) * compute(ind - 2, i + 1, r);
    ans %= (1000 * 1000 * 1000 + 7);
  }
  if (r == n - 1) {
    ans += compute(ind - 1, l, r) * haha[ind - 2];
    ans %= (1000 * 1000 * 1000 + 7);
  } else {
    ans += compute(ind - 1, l, r);
    ans %= (1000 * 1000 * 1000 + 7);
  }
  dp[ind][l][r] = ans;
  return ans;
}
long long twopow(long long b) {
  long long ans = 1, a = 2;
  while (b > 0) {
    if (b % 2) {
      ans *= a;
      ans %= (1000 * 1000 * 1000 + 7);
    }
    a *= a;
    a %= (1000 * 1000 * 1000 + 7);
    b /= 2;
  }
  return ans;
}
int main() {
  std::ios::sync_with_stdio(false);
  cin >> n >> x;
  int i = 0;
  boo[0] = 1;
  boo[1] = 1;
  for (i = 2; i < 123; i++) {
    boo[i] = boo[i - 1] + boo[i - 2];
    boo[i] %= ((1000 * 1000 * 1000 + 7) - 1);
  }
  for (i = 0; i < 123; i++) {
    haha[i] = twopow(boo[i]);
  }
  cin >> s;
  cout << compute(x, 0, n - 1) << endl;
  return 0;
}