Problem: Vasily the bear has two favorite integers n and k and a pencil. Besides, he's got k jars with different water color paints. All jars are numbered in some manner from 1 to k, inclusive. The jar number i contains the paint of the i-th color. 

Initially the bear took a pencil and drew four segments on the coordinate plane. All of them end at point (0, 0). They begin at: (0, 2n), (0, - 2n), (2n, 0), ( - 2n, 0). Then for each i = 1, 2, ..., n, the bear drew two squares. The first square has the following vertex coordinates: (2i, 0), ( - 2i, 0), (0, - 2i), (0, 2i). The second square has the following vertex coordinates: ( - 2i - 1, - 2i - 1), ( - 2i - 1, 2i - 1), (2i - 1, - 2i - 1), (2i - 1, 2i - 1). After that, the bear drew another square: (1, 0), ( - 1, 0), (0, - 1), (0, 1). All points mentioned above form the set of points A.

<image>

The sample of the final picture at n = 0

<image>

The sample of the final picture at n = 2

The bear decided to paint the resulting picture in k moves. The i-th move consists of the following stages: 

  1. The bear chooses 3 distinct points in set А so that any pair of the chosen points has a segment on the picture between them. The chosen points and segments mark the area that mustn't contain any previously painted points. 
  2. The bear paints the area bounded by the chosen points and segments the i-th color. 



Note that after the k-th move some parts of the picture can stay unpainted.

The bear asked you to calculate, how many distinct ways there are to paint his picture. A way to paint the picture is a sequence of three-element sets of points he chose on each step. Two sequences are considered distinct if there is such number i (1 ≤ i ≤ k), that the i-th members of these sequences do not coincide as sets. As the sought number can be rather large, you only need to calculate the remainder after dividing it by number 1000000007 (109 + 7).

Input

The first line contains two integers n and k, separated by a space (0 ≤ n, k ≤ 200).

Output

Print exactly one integer — the answer to the problem modulo 1000000007 (109 + 7).

Examples

Input

0 0


Output

1


Input

0 1


Output

8


Input

0 2


Output

32


Input

1 1


Output

32

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
vector<pair<int, int> > p;
vector<int> q;
int cnt[(1 << 4)][(1 << 4)][20];
int cnt2[(1 << 4)][20];
void dfs(int pos, int in, int out, int tri) {
  if (pos == p.size()) {
    int mask = 0, i;
    for ((i) = 0; (i) < (int)(12); (i)++)
      if (out & (1 << i)) mask |= (1 << (i / 3));
    for ((i) = 0; (i) < (int)(16); (i)++)
      if ((mask & i) == mask) cnt[in][i][tri]++;
    return;
  }
  dfs(pos + 1, in, out, tri);
  int in2 = p[pos].first, out2 = p[pos].second;
  if ((in & in2) == 0 && (out & out2) == 0)
    dfs(pos + 1, (in | in2), (out | out2), tri + 1);
}
void dfs2(int pos, int in, int tri) {
  if (pos == q.size()) {
    cnt2[in][tri]++;
    return;
  }
  dfs2(pos + 1, in, tri);
  int in2 = q[pos];
  if ((in & in2) == 0) dfs2(pos + 1, (in | in2), tri + 1);
}
long long dp[210][210][16];
long long func(int level, int tri, int mask) {
  int i, ans = 0;
  if (dp[level][tri][mask] != -1) return dp[level][tri][mask];
  if (level == 0) {
    if (tri < 20)
      for ((i) = 0; (i) < (int)(16); (i)++)
        if ((mask & i) == i) ans += cnt2[i][tri];
    return dp[level][tri][mask] = ans;
  }
  int in = mask;
  while (1) {
    for ((i) = 0; (i) < (int)(13); (i)++)
      if (i <= tri && cnt[in][mask][i] > 0) {
        long long tmp = func(level - 1, tri - i, (mask ^ in));
        ans = (ans + tmp * cnt[in][mask][i]) % 1000000007ll;
      }
    if (in == 0) break;
    in = ((in - 1) & mask);
  }
  return dp[level][tri][mask] = ans;
}
int main(void) {
  int i, j, k;
  for ((i) = 0; (i) < (int)(12); (i)++) p.push_back(make_pair(0, (1 << (i))));
  for ((i) = 0; (i) < (int)(4); (i)++)
    p.push_back(make_pair(0, (1 << (3 * i + 2)) + (1 << ((3 * i + 3) % 12))));
  for ((i) = 0; (i) < (int)(4); (i)++)
    p.push_back(make_pair((1 << (i)), (1 << (i * 3)) * 7));
  for ((i) = 0; (i) < (int)(4); (i)++)
    p.push_back(make_pair((1 << (i)) + (1 << ((i + 1) % 4)),
                          (1 << (i * 3)) * 7 + (1 << ((i + 1) % 4 * 3)) * 7));
  dfs(0, 0, 0, 0);
  for ((i) = 0; (i) < (int)(4); (i)++) q.push_back((1 << (i)));
  for ((i) = 0; (i) < (int)(4); (i)++)
    q.push_back((1 << (i)) + (1 << ((i + 1) % 4)));
  dfs2(0, 0, 0);
  int N, K;
  cin >> N >> K;
  for ((i) = 0; (i) < (int)(N + 1); (i)++)
    for ((j) = 0; (j) < (int)(K + 1); (j)++)
      for ((k) = 0; (k) < (int)(16); (k)++) dp[i][j][k] = -1;
  long long ans = func(N, K, 15);
  for (i = 1; i <= K; i++) ans = ans * i % 1000000007ll;
  cout << ans << endl;
  return 0;
}