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;
long long dp[101][101][101];
char txt[101];
int sz;
long long MD = 1000000007;
long long norm(long long &x) { return x %= MD; }
void tran(int t) {
  int i, j, k;
  auto _1 = dp[t - 2];
  auto _0 = dp[t - 1];
  auto _2 = dp[t];
  for (i = 0; i <= sz; i++) {
    for (j = i; j <= sz; j++) {
      _2[i][j] = 0;
      for (k = i; k <= j; k++) {
        long long u;
        norm(u = _0[i][k] * _1[k][j]);
        norm(_2[i][j] += u);
      }
    }
  }
}
void init() {
  int i, j;
  for (i = 0; i <= sz; i++) {
    for (j = i; j <= sz; j++) {
      dp[0][i][j] = dp[1][i][j] = 0;
    }
  }
  for (i = 0; i <= sz; i++) {
    dp[0][i][i] = dp[1][i][i] = 1;
  }
  dp[0][0][0] = dp[1][0][0] = dp[0][sz][sz] = dp[1][sz][sz] = 2;
  for (i = 0; i < sz; i++) {
    dp[txt[i] - '0'][i][i + 1] = 1;
  }
}
int main() {
  int n, i;
  scanf("%d%d", &sz, &n);
  scanf("%s", txt);
  init();
  for (i = 2; i <= n; i++) {
    tran(i);
  }
  printf("%lld\n", dp[n][0][sz]);
  return 0;
}