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;
template <class T>
void _R(T &x) {
  cin >> x;
}
void _R(int &x) { scanf("%d", &x); }
void _R(int64_t &x) { scanf("%lld", &x); }
void _R(double &x) { scanf("%lf", &x); }
void _R(char &x) { scanf(" %c", &x); }
void _R(char *x) { scanf("%s", x); }
void R() {}
template <class T, class... U>
void R(T &head, U &...tail) {
  _R(head);
  R(tail...);
}
template <class T>
void _W(const T &x) {
  cout << x;
}
void _W(const int &x) { printf("%d", x); }
void _W(const int64_t &x) { printf("%lld", x); }
void _W(const double &x) { printf("%.16f", x); }
void _W(const char &x) { putchar(x); }
void _W(const char *x) { printf("%s", x); }
template <class T, class U>
void _W(const pair<T, U> &x) {
  _W(x.first);
  putchar(' ');
  _W(x.second);
}
template <class T>
void _W(const vector<T> &x) {
  for (auto i = x.begin(); i != x.end(); _W(*i++))
    if (i != x.cbegin()) putchar(' ');
}
void W() {}
template <class T, class... U>
void W(const T &head, const U &...tail) {
  _W(head);
  putchar(sizeof...(tail) ? ' ' : '\n');
  W(tail...);
}
template <class T, class... U>
void DEBUG(const T &head, const U &...tail) {}
int MOD = 1e9 + 7;
void ADD(long long &x, long long v) {
  x = (x + v) % MOD;
  if (x < 0) x += MOD;
}
const int SIZE = 1e6 + 10;
long long mypow(long long x, long long y) {
  x %= MOD;
  long long res = 1 % MOD;
  while (y) {
    if (y & 1) res = res * x % MOD;
    y >>= 1;
    x = x * x % MOD;
  }
  return res;
}
long long fib[101];
long long dp[101][100][100];
char s[SIZE];
int main() {
  fib[0] = fib[1] = 1;
  int n, x;
  R(n, x);
  scanf("%s", (s));
  for (int i = 0; i < (n); ++i) {
    if (s[i] == '0')
      dp[0][i][i] = 1;
    else
      dp[1][i][i] = 1;
  }
  for (int i = (2); i <= (x); ++i) {
    fib[i] = (fib[i - 1] + fib[i - 2]) % (MOD - 1);
    for (int l = 0; l < (n); ++l)
      for (int r = (l); r < (n); ++r) {
        for (int j = 1; l + j <= r; j++) {
          ADD(dp[i][l][r], dp[i - 1][l][l + j - 1] * dp[i - 2][l + j][r]);
        }
        if (!l) {
          ADD(dp[i][l][r], mypow(2, fib[i - 1]) * dp[i - 2][l][r]);
        } else {
          ADD(dp[i][l][r], dp[i - 2][l][r]);
        }
        if (r == n - 1) {
          ADD(dp[i][l][r], dp[i - 1][l][r] * mypow(2, fib[i - 2]));
        } else {
          ADD(dp[i][l][r], dp[i - 1][l][r]);
        }
      }
  }
  W(dp[x][0][n - 1]);
  return 0;
}