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;
void _fill_int(int* p, int val, int rep) {
  int i;
  for (i = 0; i < rep; i++) p[i] = val;
}
void _fill_ll(signed long long* p, signed long long val, int rep) {
  int i;
  for (i = 0; i < rep; i++) p[i] = val;
}
signed long long GETi() {
  signed long long i;
  scanf("%lld", &i);
  return i;
}
int N, K;
signed long long mo = 1000000007;
signed long long dpdp[205][205][16];
const int CN = 20;
signed long long C[CN][CN];
signed long long dodp(int level, int num, int mask) {
  int ma, i, j, k[5], l;
  if (num == 0) return 1;
  if (num < 0 || mask == 0) return 0;
  if (dpdp[level][num][mask] != -1) return dpdp[level][num][mask];
  signed long long ret = 0;
  for (ma = 0; ma < 16; ma++) {
    if ((mask & ma) != ma) continue;
    int bi = __builtin_popcount(ma);
    k[0] = k[1] = k[2] = k[3] = k[4] = 0;
    k[bi] = 1;
    if (bi == 2 && (ma != 5) && (ma != 10)) k[1]++;
    if (bi == 3) k[2] += 2;
    if (bi == 4) k[2] += 2, k[3] += 4;
    if (level > 0) {
      int ma2 = mask ^ ma;
      if (ma2 == 13 || ma2 == 11 || ma2 == 14) ma2 = 7;
      if (ma2 == 9 || ma2 == 6 || ma2 == 12) ma2 = 3;
      if (ma2 == 10) ma2 = 5;
      if (ma2 == 2 || ma2 == 4 || ma2 == 8) ma2 = 1;
      int x, y;
      for (l = 0; l < 5; l++) {
        if (k[l] == 0) continue;
        if (num - l < 0) continue;
        if (ma2 == 0)
          x = 0, y = 0;
        else if (ma2 == 1)
          x = 3, y = 0;
        else if (ma2 == 5)
          x = 6, y = 0;
        else if (ma2 == 3)
          x = 6, y = 1;
        else if (ma2 == 7)
          x = 9, y = 2;
        else if (ma2 == 15)
          x = 12, y = 4;
        for (i = 0; i < y + 1; i++)
          for (j = 0; j < x - i * 2 + 1; j++)
            ret += dodp(level - 1, num - l - (i + j), ma2) *
                   ((k[l] * C[y][i] * C[x - i * 2][j]) % mo);
      }
    } else {
      for (l = 0; l < 5; l++) ret += (num == l) * k[l];
    }
  }
  return dpdp[level][num][mask] = (ret %= mo);
}
void solve() {
  int f, i, j, k, l, x, y;
  cin >> N >> K;
  for (x = 0; x < CN; x++) C[x][0] = C[x][x] = 1;
  for (i = 1; i < CN; i++)
    for (j = 1; j < i; j++) C[i][j] = (C[i - 1][j - 1] + C[i - 1][j]) % mo;
  _fill_ll((signed long long*)dpdp, -1LL, sizeof(dpdp) / 8);
  signed long long ret = dodp(N, K, 15);
  for (i = 0; i < K; i++) ret = (ret * (i + 1)) % mo;
  cout << ret << endl;
}
int main(int argc, char** argv) {
  if (argc > 1) freopen(argv[1], "r", stdin);
  solve();
  return 0;
}