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 N = 100 + 7;
const int inf = 0x3f3f3f3f;
const long long INF = 0x3f3f3f3f3f3f3f3f;
const int mod = 1e9 + 7;
const double eps = 1e-8;
const double PI = acos(-1);
template <class T, class S>
inline void add(T& a, S b) {
  a += b;
  if (a >= mod) a -= mod;
}
template <class T, class S>
inline void sub(T& a, S b) {
  a -= b;
  if (a < 0) a += mod;
}
template <class T, class S>
inline bool chkmax(T& a, S b) {
  return a < b ? a = b, true : false;
}
template <class T, class S>
inline bool chkmin(T& a, S b) {
  return a > b ? a = b, true : false;
}
long long power(long long a, long long b) {
  long long ans = 1;
  while (b) {
    if (b & 1) ans = ans * a % mod;
    a = a * a % mod;
    b >>= 1;
  }
  return ans;
}
int n, x;
char s[N];
long long fib[N];
long long f[N][N][N];
long long dp(int x, int l, int r) {
  long long& ans = f[x][l][r];
  if (~ans) return ans;
  ans = 0;
  if (x == 0) {
    if (l == r && s[l] == '0') ans = 1;
  } else if (x == 1) {
    if (l == r && s[l] == '1') ans = 1;
  } else {
    if (r == n)
      add(ans, dp(x - 1, l, r) * power(2, fib[x - 2]) % mod);
    else
      add(ans, dp(x - 1, l, r));
    if (l == 1)
      add(ans, dp(x - 2, l, r) * power(2, fib[x - 1]) % mod);
    else
      add(ans, dp(x - 2, l, r));
    for (int k = l; k < r; k++)
      add(ans, dp(x - 1, l, k) * dp(x - 2, k + 1, r) % mod);
  }
  return ans;
}
int main() {
  memset(f, -1, sizeof(f));
  fib[0] = fib[1] = 1;
  for (int i = 2; i <= 100; i++) fib[i] = (fib[i - 1] + fib[i - 2]) % (mod - 1);
  scanf("%d%d", &n, &x);
  scanf("%s", s + 1);
  printf("%lld", dp(x, 1, n));
  return 0;
}