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 long long Mod = 1000000007LL;
const int N = 16;
bool valid[N];
int choice[8] = {1, 2, 4, 8, 1 | 2, 2 | 4, 4 | 8, 8 | 1};
int fs[5][3] = {{-1, -1, -1}, {0, -1, -1}, {0, 1, -1}, {0, 2, -1}, {0, 1, 2}};
int f[5][5];
int outer[16] = {1,   2,   4,    8,    16,    32,      64,        128,
                 256, 512, 1024, 2048, 4 | 8, 32 | 64, 256 | 512, 2048 | 1};
int gs[5][9] = {
    {-1, -1, -1, -1, -1, -1, -1, -1, -1}, {0, 1, 2, -1, -1, -1, -1, -1, -1},
    {0, 1, 2, 3, 4, 5, -1, -1, -1},       {0, 1, 2, 6, 7, 8, -1, -1, -1},
    {0, 1, 2, 3, 4, 5, 6, 7, 8},
};
int g[5][13];
int len[5] = {12, 9, 6, 6, 3};
long long dp[5][210][210];
bool vis[5][210][210];
bool check(int s, int* choice) {
  for (int i = 0; i < N; ++i) {
    if ((s & (1 << i)) == 0) continue;
    for (int j = 0; j < N; ++j)
      if ((choice[i] & (1 << j)) && valid[j] == false) return false;
    for (int j = i + 1; j < N; ++j) {
      if ((s & (1 << j)) == 0) continue;
      if (choice[i] & choice[j]) return false;
    }
  }
  return true;
}
vector<int> test(int len, int* choice) {
  vector<int> v(20, 0);
  for (int i = 0; i < (1 << len); ++i) {
    if (check(i, choice) == false) continue;
    int j = i, k = 0;
    while (j) ++k, j = (j - 1) & j;
    v[k]++;
  }
  return v;
}
long long dfs(int type, int n, int k);
long long dfs2(int type, int n, int k) {
  if (n == 0) {
    puts("error");
    return 0;
  }
  long long res = 0;
  int L = k <= len[type] ? k : len[type];
  for (int i = 0; i <= L; ++i) {
    res += (long long)g[type][i] * dfs(type, n - 1, k - i);
    res %= Mod;
  }
  return res;
}
long long dfs(int type, int n, int k) {
  if (k < 0) return 0LL;
  if (k == 0) return 1LL;
  if (n == 0) return k <= 4 ? (long long)f[type][k] : 0;
  if (vis[type][n][k]) return dp[type][n][k];
  long long res = 0;
  res += dfs2(type, n, k);
  if (type == 0) {
    res += 4 * dfs2(1, n, k - 1);
    res += 4 * dfs2(2, n, k - 1);
    res += 4 * dfs2(2, n, k - 2);
    res += 2 * dfs2(3, n, k - 2);
    res += 8 * dfs2(4, n, k - 2);
    res += 2 * (k == 2);
    res += 4 * dfs2(4, n, k - 3);
    res += 4 * (k == 3);
    res += 1 * (k == 4);
    res %= Mod;
  } else if (type == 1) {
    res += 2 * dfs2(2, n, k - 1);
    res += 2 * dfs2(4, n, k - 1);
    res += 1 * dfs2(3, n, k - 1);
    res += 3 * dfs2(4, n, k - 2);
    res += 2 * (k == 2);
    res += 1 * (k == 3);
    res %= Mod;
  } else if (type == 2 || type == 3) {
    res += 2 * dfs2(4, n, k - 1);
    res += 1 * (k == 1 && type == 2);
    res += 1 * (k == 2);
    res %= Mod;
  } else if (type == 4) {
    res += 1 * (k == 1);
    res %= Mod;
  } else {
    puts("wrong type");
  }
  vis[type][n][k] = true;
  dp[type][n][k] = res;
  return res;
}
int main() {
  vector<int> v;
  for (int i = 0; i < 5; ++i) {
    memset(valid, 1, sizeof(valid));
    for (int j = 0; j < 3; ++j) {
      if (fs[i][j] == -1) continue;
      valid[fs[i][j]] = false;
    }
    v = test(8, choice);
    for (int j = 0; j <= 4; ++j) f[i][j] = v[j];
  }
  for (int i = 0; i < 5; ++i) {
    memset(valid, 1, sizeof(valid));
    for (int j = 0; j < 9; ++j) {
      if (gs[i][j] == -1) continue;
      valid[gs[i][j]] = false;
    }
    v = test(16, outer);
    for (int j = 0; j <= 12; ++j) g[i][j] = v[j];
  }
  int n, k;
  cin >> n >> k;
  long long res = dfs(0, n, k);
  while (k) {
    res = (res * k) % Mod;
    k--;
  }
  cout << res << endl;
  return 0;
}