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;
const double eps(1e-8);
int n, m;
int f[210][210][10][10], a[10], b[10];
int c[210][210];
inline void Add(int &a1, int b1) {
  a1 += b1;
  if (a1 >= 1000000007) a1 -= 1000000007;
}
inline int Mul(int a, int b) {
  long long ret = a;
  ret *= b;
  return (ret % 1000000007);
}
int Calc(int n, int m, int cur, int type) {
  int ret = f[n][m][cur][type];
  if (ret != -1) return ret;
  ret = 0;
  if (type == 0) {
    int bits = a[cur];
    for (int i = 0; (i <= m) && (i <= bits); i++)
      Add(ret, Mul(Calc(n - 1, m - i, cur, 2), c[bits][i]));
  }
  if (type == 1) {
    if (n == 0) return (m == 0) ? 1 : 0;
    int bits = a[cur] << 1, cons = b[cur];
    for (int i = 0; (i <= cons) && (i <= m); i++)
      for (int j = 0; (j <= bits - 2 * i) && (j + i <= m); j++)
        Add(ret, Mul(Calc(n, m - i - j, cur, 0),
                     Mul(c[cons][i], c[bits - 2 * i][j])));
  }
  if (type == 2) {
    Add(ret, Calc(n, m, cur, 1));
    if (cur == 0) {
      if (m >= 1) {
        Add(ret, Mul(Calc(n, m - 1, 1, 1), 4));
        Add(ret, Mul(Calc(n, m - 1, 2, 1), 4));
      }
      if (m >= 2) {
        Add(ret, Mul(Calc(n, m - 2, 4, 1), 2));
        Add(ret, Mul(Calc(n, m - 2, 2, 1), 4));
        Add(ret, Mul(Calc(n, m - 2, 3, 1), 8));
        if (m == 2) Add(ret, 2);
      }
      if (m >= 3) {
        Add(ret, Mul(Calc(n, m - 3, 3, 1), 4));
        if (m == 3) Add(ret, 4);
      }
      if (m == 4) Add(ret, 1);
    }
    if (cur == 1) {
      if (m >= 1) {
        Add(ret, Calc(n, m - 1, 4, 1));
        Add(ret, Mul(Calc(n, m - 1, 2, 1), 2));
        Add(ret, Mul(Calc(n, m - 1, 3, 1), 2));
      }
      if (m >= 2) {
        Add(ret, Mul(Calc(n, m - 2, 3, 1), 3));
        if (m == 2) Add(ret, 2);
      }
      if (m == 3) Add(ret, 1);
    }
    if (cur == 2) {
      if (m >= 1) {
        Add(ret, Mul(Calc(n, m - 1, 3, 1), 2));
        if (m == 1) Add(ret, 1);
      }
      if (m == 2) Add(ret, 1);
    }
    if (cur == 3 && m == 1) Add(ret, 1);
    if (cur == 4) {
      if (m >= 1) Add(ret, Mul(Calc(n, m - 1, 3, 1), 2));
      if (m == 2) Add(ret, 1);
    }
  }
  f[n][m][cur][type] = ret;
  return ret;
}
int main() {
  scanf("%d%d", &n, &m);
  a[0] = 4, a[1] = 3, a[2] = 2, a[3] = 1, a[4] = 2;
  b[0] = 4, b[1] = 2, b[2] = 1, b[3] = 0, b[4] = 0;
  for (int i = 0; i <= 200; i++) {
    c[i][0] = 1;
    for (int j = 1; j <= i; j++)
      Add(c[i][j], c[i - 1][j]), Add(c[i][j], c[i - 1][j - 1]);
  }
  long long fact = 1;
  for (int i = 1; i <= m; i++) fact = Mul(fact, i);
  memset(f, -1, sizeof(f));
  printf("%d\n", Mul(fact, Calc(n, m, 0, 2)));
  return 0;
}