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;
int n, k;
long long c[15][15], f[210][210][10];
int mp[10][10] =
    {{1, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {1, 1, 0, 0, 0, 0, 0, 0, 0, 0},
     {1, 0, 1, 0, 0, 0, 0, 0, 0, 0}, {1, 2, 0, 1, 0, 0, 0, 0, 0, 0},
     {1, 2, 0, 0, 1, 0, 0, 0, 0, 0}, {1, 1, 1, 0, 0, 1, 0, 0, 0, 0},
     {1, 0, 2, 0, 0, 0, 1, 0, 0, 0}, {1, 3, 0, 2, 1, 0, 0, 1, 0, 0},
     {1, 2, 1, 1, 0, 2, 0, 0, 1, 0}, {1, 4, 0, 4, 2, 0, 0, 4, 0, 1}},
    d1[10] = {12, 9, 6, 6, 6, 3, 0, 3, 0, 0},
    d2[10] = {4, 2, 1, 1, 0, 0, 0, 0, 0, 0};
inline int read() {
  int f = 1, x = 0;
  char ch;
  do {
    ch = getchar();
    if (ch == '-') f = -1;
  } while (ch < '0' || ch > '9');
  do {
    x = x * 10 + ch - '0';
    ch = getchar();
  } while (ch >= '0' && ch <= '9');
  return f * x;
}
inline void init() {
  f[0][3][7] = 4;
  f[0][3][8] = 4;
  f[0][4][9] = 1;
  f[0][0][0] = 1;
  f[0][1][1] = 4;
  f[0][1][2] = 4;
  f[0][2][3] = 4;
  f[0][2][4] = 2;
  f[0][2][5] = 8;
  f[0][2][6] = 2;
}
inline void work() {
  for (int i = 0; i < n; i++)
    for (int j = 0; j < 10; j++)
      for (int p = 0; p <= k; p++)
        if (f[i][p][j]) {
          for (int q = 0; q < 10; q++)
            if (mp[j][q]) {
              int l1 = d1[q], l2 = d2[q];
              for (int r = 0; p + r <= k && r <= l2; r++)
                for (int t = 0; p + r + t <= k && t <= l1 - 2 * r; t++)
                  (f[i + 1][p + r + t][q] += (f[i][p][j] * c[l2][r]) %
                                             1000000007 * c[l1 - 2 * r][t] *
                                             mp[j][q]) %= 1000000007;
            }
        }
}
int main() {
  c[0][0] = 1;
  for (int i = 1; i < 15; i++) {
    c[i][0] = 1;
    for (int j = 1; j <= i; j++)
      c[i][j] = (c[i - 1][j] + c[i - 1][j - 1]) % 1000000007;
  }
  n = read();
  k = read();
  init();
  long long ret = 0;
  work();
  for (int i = 0; i <= 9; i++) ret = (ret + f[n][k][i]) % 1000000007;
  for (int i = 1; i <= k; i++) ret = (ret * i) % 1000000007;
  cout << ret << endl;
}