Dima loves making pictures on a piece of squared paper. And yet more than that Dima loves the pictures that depict one of his favorite figures. 

A piece of squared paper of size n × m is represented by a table, consisting of n rows and m columns. All squares are white on blank squared paper. Dima defines a picture as an image on a blank piece of paper, obtained by painting some squares black.

The picture portrays one of Dima's favorite figures, if the following conditions hold:

  * The picture contains at least one painted cell; 
  * All painted cells form a connected set, that is, you can get from any painted cell to any other one (you can move from one cell to a side-adjacent one); 
  * The minimum number of moves needed to go from the painted cell at coordinates (x1, y1) to the painted cell at coordinates (x2, y2), moving only through the colored cells, equals |x1 - x2| + |y1 - y2|. 



Now Dima is wondering: how many paintings are on an n × m piece of paper, that depict one of his favorite figures? Count this number modulo 1000000007 (109 + 7).

Input

The first line contains two integers n and m — the sizes of the piece of paper (1 ≤ n, m ≤ 150).

Output

In a single line print the remainder after dividing the answer to the problem by number 1000000007 (109 + 7).

Examples

Input

2 2


Output

13


Input

3 4


Output

571
#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
const int MAXN = 155;
int n, m;
int f[MAXN][MAXN][2][2];
void add(int &a, int b) {
  a += b;
  if (a >= MOD) a -= MOD;
}
int main() {
  scanf("%d%d", &n, &m);
  for (int l = 1; l <= m; ++l)
    for (int r = l; r <= m; ++r) f[l][r][1][1] = 1;
  int ans = 0;
  for (int i = 1; i <= n; ++i) {
    long long tmp = 0;
    for (int l = 1; l <= m; ++l)
      for (int r = l; r <= m; ++r)
        for (int sl = 0; sl < 2; ++sl)
          for (int sr = 0; sr < 2; ++sr) tmp += f[l][r][sl][sr];
    ans = (ans + tmp * (n - i + 1)) % MOD;
    for (int l = 1; l <= m; ++l)
      for (int r = l + 1; r <= m; ++r)
        for (int sr = 0; sr < 2; ++sr) {
          add(f[l + 1][r][0][sr], f[l][r][0][sr]);
          add(f[l + 1][r][0][sr], f[l][r][1][sr]);
        }
    for (int l = 1; l <= m; ++l)
      for (int r = m; r >= l + 1; --r)
        for (int sl = 0; sl < 2; ++sl) {
          add(f[l][r - 1][sl][0], f[l][r][sl][0]);
          add(f[l][r - 1][sl][0], f[l][r][sl][1]);
        }
    for (int l = m; l >= 2; --l)
      for (int r = l; r <= m; ++r)
        for (int sr = 0; sr < 2; ++sr) add(f[l - 1][r][1][sr], f[l][r][1][sr]);
    for (int l = m; l >= 1; --l)
      for (int r = l; r < m; ++r)
        for (int sl = 0; sl < 2; ++sl) add(f[l][r + 1][sl][1], f[l][r][sl][1]);
  }
  cout << ans << endl;
  return 0;
}
