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;
long long rdtsc() {
  long long tmp;
  asm("rdtsc" : "=A"(tmp));
  return tmp;
}
const int MOD = (int)1e9 + 7;
inline void add(int &x, int y) {
  if ((x += y) >= MOD) x -= MOD;
}
inline int mult(int x, int y) { return (long long)x * y % MOD; }
const int maxn = 201;
int d[maxn][maxn][1 << 4];
const int maxCntIds = (int)1e5;
int cntIds;
int prec[maxCntIds][3];
void printMask(int mask) {
  for (int i = 0; i < 12; i++)
    fprintf(stderr, "%d%c", ((mask >> i) & 1), " \n"[i == 11]);
}
void gen(int iter, int mask, int left, int putk) {
  if (iter == 12 + 4 + 4 + 4) {
    assert(cntIds < maxCntIds);
    prec[cntIds][0] = mask, prec[cntIds][1] = left, prec[cntIds][2] = putk;
    cntIds++;
    return;
  }
  gen(iter + 1, mask, left, putk);
  if (iter < 12)
    gen(iter + 1, mask ^ (1 << iter), left, putk + 1);
  else {
    if (iter - 12 < 4) {
      int addMask =
          (7 << (3 * (iter - 12))) ^ (7 << (3 * ((iter - 12 + 1) & 3)));
      if (!(addMask & mask))
        gen(iter + 1, mask ^ addMask,
            left ^ (1 << (iter - 12)) ^ (1 << ((iter - 12 + 1) & 3)), putk + 1);
    } else {
      if (iter - 16 < 4) {
        int addMask = (7 << (3 * (iter - 16)));
        if (!(addMask & mask))
          gen(iter + 1, mask ^ addMask, left ^ (1 << (iter - 16)), putk + 1);
      } else {
        int addMask =
            (1 << (3 * (iter - 20))) ^ (1 << ((3 * (iter - 20) + 11) % 12));
        if (!(addMask & mask)) gen(iter + 1, mask ^ addMask, left, putk + 1);
      }
    }
  }
}
void countPrec() {
  cntIds = 0;
  gen(0, 0, 0, 0);
  fprintf(stderr, "cntIds = %d\n", cntIds);
}
const int cnt0 = 8;
const int mask0[cnt0] = {1, 2, 4, 8, 3, 6, 12, 9};
int gen0(int iter, int taken, int left) {
  if (left > cnt0 - iter) return 0;
  if (iter == cnt0) return 1;
  int ans = gen0(iter + 1, taken, left);
  if (left && !(taken & mask0[iter]))
    add(ans, gen0(iter + 1, taken | mask0[iter], left - 1));
  return ans;
}
int better[16] = {0, 1, 1, 3, 1, 5, 3, 7, 1, 3, 5, 7, 3, 7, 7, 15};
void countD(int n0, int k0) {
  countPrec();
  for (int k = 0; k <= k0; k++)
    for (int taken = 0; taken < (1 << 4); taken++) {
      d[0][k][taken] = gen0(0, taken, k);
      if (better[taken] < taken) {
        assert(d[0][k][taken] == d[0][k][better[taken]]);
        continue;
      }
    }
  vector<vector<pair<pair<int, int>, int> > > pairs(1 << 4);
  for (int taken = 0; taken < (1 << 4); taken++) {
    int maskFail = 0;
    for (int i = 0; i < 4; i++) {
      if (!((taken >> i) & 1)) continue;
      maskFail ^= (7 << (3 * i));
    }
    for (int i = 0; i < cntIds; i++) {
      if (!(maskFail & prec[i][0]))
        pairs[taken].push_back(make_pair(make_pair(prec[i][1], prec[i][2]), 1));
    }
    sort(pairs[taken].begin(), pairs[taken].end());
    int newlen = 0;
    for (int i = 0; i < ((int)(pairs[taken]).size());) {
      int i0 = i;
      while (i < ((int)(pairs[taken]).size()) &&
             pairs[taken][i].first == pairs[taken][i0].first)
        i++;
      pairs[taken][newlen++] = make_pair(pairs[taken][i0].first, i - i0);
    }
    pairs[taken].resize(newlen);
  }
  for (int n = 1; n <= n0; n++) {
    for (int k = 0; k <= k0; k++) {
      for (int taken = 0; taken < (1 << 4); taken++) {
        int &cur = d[n][k][taken];
        cur = 0;
        if (!k) {
          cur = 1;
          continue;
        }
        if (better[taken] < taken) {
          cur = d[n][k][better[taken]];
          continue;
        }
        int maskFail = 0;
        for (int i = 0; i < 4; i++) {
          if (!((taken >> i) & 1)) continue;
          maskFail ^= (7 << (3 * i));
        }
        for (int id = 0; id < ((int)(pairs[taken]).size()); id++) {
          int left = pairs[taken][id].first.first,
              putk = pairs[taken][id].first.second,
              cnt = pairs[taken][id].second;
          if (putk > k) continue;
          left |= taken;
          cur = (cur + (long long)cnt * d[n - 1][k - putk][left]) % MOD;
        }
      }
    }
  }
}
bool solve() {
  int n, k;
  if (scanf("%d%d", &n, &k) < 1) return 0;
  countD(n, k);
  int res = d[n][k][0];
  for (int i = 1; i <= k; i++) res = mult(res, i);
  printf("%d\n", res);
  return 1;
}
int main() {
  srand(rdtsc());
  while (1) {
    if (!solve()) break;
  }
  return 0;
}