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 int MAX = 201;
const int Mod = (int)1e9 + 7;
int n, k;
int f[MAX][1 << 4][MAX];
int p[MAX];
long long C[MAX][MAX];
void work(int* p, int can, int must) {
  int i, j;
  long long* CC = C[can];
  for (i = k; i >= 0; --i) {
    long long np = p[i];
    if (must) np = 0;
    for ((j) = (1); (j) <= (can); ++(j))
      if (i >= j) np = np + p[i - j] * CC[j];
    p[i] = np % Mod;
  }
}
void update(int S, int* f, int nf[1 << 4][MAX]) {
  int i;
  for ((i) = (0); (i) != (1 << 4); ++(i)) {
    int nS = S, j, delta = 0;
    for ((j) = (0); (j) != (4); ++(j))
      if ((i >> j) & 1) {
        nS |= (1 << j);
        nS |= (1 << ((j + 3) % 4));
        delta += 1;
      }
    int pS;
    for ((pS) = (0); (pS) != (1 << 4); ++(pS))
      if ((pS & nS) == nS) {
        memset(p, 0, sizeof p);
        for ((j) = (delta); (j) <= (k); ++(j)) p[j] = f[j - delta];
        for ((j) = (0); (j) != (4); ++(j)) {
          int s1 = ((i >> j) & 1);
          int s2 = (((i >> ((j + 1) % 4))) & 1);
          int can = 3 - s1 - s2;
          int must = !s1 && !s2 && ((pS >> j) & 1) && !((S >> j) & 1);
          if ((pS >> j) & 1) work(p, can, must);
        }
        for ((j) = (0); (j) <= (k); ++(j)) nf[pS][j] = (nf[pS][j] + p[j]) % Mod;
      }
  }
}
void update2(int S, int* f, int nf[1 << 4][MAX]) {
  int i, j;
  for ((i) = (1); (i) != (1 << 4); ++(i))
    if ((S & i) == 0) {
      int a = (i >> 0) & 1;
      int b = (i >> 1) & 1;
      int c = (i >> 2) & 1;
      int d = (i >> 3) & 1;
      int num = a + b + c + d;
      if (!num) continue;
      for ((j) = (0); (j) <= (k); ++(j)) p[j] = f[j];
      long long one = (a && b) + (b && c) + (c && d) + (d && a);
      long long two = (num == 4) * 2;
      for (j = k; j >= 0; --j) {
        p[j] = 0;
        if (j >= num) p[j] = (p[j] + p[j - num]) % Mod;
        if (j >= num - 1) p[j] = (p[j] + p[j - (num - 1)] * one) % Mod;
        if (j >= num - 2) p[j] = (p[j] + p[j - (num - 2)] * two) % Mod;
      }
      for ((j) = (0); (j) <= (k); ++(j))
        nf[S | i][j] = (nf[S | i][j] + p[j]) % Mod;
    }
}
int main() {
  int i, j;
  cin >> n >> k;
  int p = k;
  C[0][0] = 1;
  for ((i) = (1); (i) != (MAX); ++(i)) {
    C[i][0] = 1;
    for ((j) = (1); (j) <= (i); ++(j))
      C[i][j] = (C[i - 1][j] + C[i - 1][j - 1]) % Mod;
  }
  f[0][0][0] = 1;
  for (i = (1 << 4) - 1; i >= 0; --i) update2(i, f[0][i], f[0]);
  for ((i) = (1); (i) <= (n); ++(i)) {
    for ((j) = (0); (j) != (1 << 4); ++(j)) update(j, f[i - 1][j], f[i]);
    for (j = (1 << 4) - 1; j >= 0; --j) update2(j, f[i][j], f[i]);
  }
  long long ans = 0;
  for ((j) = (0); (j) != (1 << 4); ++(j)) ans = (ans + f[n][j][k]) % Mod;
  for (; p; p--) ans = ans * p % Mod;
  cout << ans << endl;
  return 0;
}