#include <bits/stdc++.h>
using namespace std;
struct fastIO {
  inline fastIO operator>>(int& num) {
    num = 0;
    char c = getchar();
    while (c != '-' && (c < '0' || c > '9')) c = getchar();
    bool foo = 0;
    if (c == '-') {
      foo = 1;
      c = getchar();
    }
    while (c >= '0' && c <= '9') {
      num = (num << 3) + (num << 1) + c - '0';
      c = getchar();
    }
    if (foo) num = -num;
    return *this;
  }
  inline fastIO operator>>(long long& num) {
    num = 0;
    char c = getchar();
    while (c != '-' && (c < '0' || c > '9')) c = getchar();
    bool foo = 0;
    if (c == '-') {
      foo = 1;
      c = getchar();
    }
    while (c >= '0' && c <= '9') {
      num = (num << 3) + (num << 1) + c - '0';
      c = getchar();
    }
    if (foo) num = -num;
    return *this;
  }
  inline fastIO operator>>(float& num) {
    scanf("%f", &num);
    return *this;
  }
  inline fastIO operator>>(double& num) {
    scanf("%lf", &num);
    return *this;
  }
  inline fastIO operator>>(long double& num) {
    scanf("%Lf", &num);
    return *this;
  }
  inline fastIO operator>>(char& num) {
    num = getchar();
    while (num == ' ' || num == '\n') num = getchar();
    return *this;
  }
  inline fastIO operator>>(char* num) {
    int cnt = 0;
    char c = getchar();
    while (c == ' ' || c == '\n') c = getchar();
    while (c != ' ' && c != '\n') {
      num[cnt++] = c;
      c = getchar();
    }
    num[cnt] = 0;
    return *this;
  }
  inline fastIO operator>>(string& num) {
    cin >> num;
    return *this;
  }
  inline void printInt(const int& num) {
    if (num < 10) {
      putchar(num + '0');
      return;
    }
    printInt(num / 10);
    putchar((num % 10) + '0');
  }
  inline void printINT(const long long& num) {
    if (num < 10) {
      putchar(num + '0');
      return;
    }
    printINT(num / 10);
    putchar((num % 10) + '0');
  }
  inline fastIO operator<<(const int& num) {
    if (num < 0)
      putchar('-'), printInt(-num);
    else
      printInt(num);
    return *this;
  }
  inline fastIO operator<<(const long long& num) {
    if (num < 0)
      putchar('-'), printINT(-num);
    else
      printINT(num);
    return *this;
  }
  inline fastIO operator<<(const float& num) {
    printf("%.10f", num);
    return *this;
  }
  inline fastIO operator<<(const double& num) {
    printf("%.16lf", num);
    return *this;
  }
  inline fastIO operator<<(const long double& num) {
    printf("%.20Lf", num);
    return *this;
  }
  inline fastIO operator<<(const char& num) {
    putchar(num);
    return *this;
  }
  inline fastIO operator<<(const char* num) {
    for (int i = 0; num[i]; i++) putchar(num[i]);
    return *this;
  }
  inline fastIO operator<<(const string& num) {
    cout << num;
    return *this;
  }
} fio;
long long dp[155][155][4];
int n, m;
long long ans = 0;
int main() {
  scanf("%d%d", &n, &m);
  if (n < m) {
    swap(n, m);
  }
  for (int i = 0; i <= n; i++) {
    dp[i][i][0] = 1;
    dp[i + 1][i][0] = 1;
  }
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j < m; j++) {
      for (int k = m - 1; k > j; k--) {
        dp[j][k][3] = (dp[j - 1][k][3] + dp[j][k + 1][3] - dp[j - 1][k + 1][3] +
                       1000000007 + dp[j][k][3] + dp[j - 1][k + 1][0] +
                       dp[m - k - 1][m - j][2] + dp[j - 1][k][2]) %
                      1000000007;
        ans = (ans + dp[j][k][3]) % 1000000007;
      }
    }
    for (int j = m - 1; j >= 0; j--) {
      for (int k = m - 1; k > j; k--) {
        dp[j][k][2] = (dp[j + 1][k][2] + dp[j][k + 1][2] - dp[j + 1][k + 1][2] +
                       1000000007 + dp[j][k][2] + dp[j][k + 1][0]) %
                      1000000007;
        ans = (ans + dp[j][k][2] * 2) % 1000000007;
      }
    }
    for (int j = m - 1; j >= 0; j--) {
      for (int k = j + 1; k <= m; k++) {
        dp[j][k][0] = (dp[j + 1][k][0] + dp[j][k - 1][0] - dp[j + 1][k - 1][0] +
                       1000000007 + dp[j][k][0]) %
                      1000000007;
        ans = (ans + dp[j][k][0]) % 1000000007;
      }
    }
  }
  printf("%d\n", (int)ans);
  return 0;
}
