#include <bits/stdc++.h>
using namespace std;
const int N = 508;
const long long M = 998244353ll;
long long n, m, a[N][N];
int main(void) {
  std::ios::sync_with_stdio(false);
  long long i, j, k;
  cin >> n >> m;
  for (i = 1; i <= n && i <= m; i++) a[0][i] = 1;
  for (i = 1; i <= n; i++)
    for (j = 1; j <= m && j <= n; j++) {
      for (k = 1; k <= j && k <= i; k++) a[i][j] = (a[i][j] + a[i - k][j]) % M;
    }
  k = 0;
  for (i = 1; i <= n; i++)
    for (j = 1; j <= n && j <= (m - 1) / i; j++)
      k = (k + (a[n][i] - a[n][i - 1]) * (a[n][j] - a[n][j - 1]) % M) % M;
  cout << ((k * 2 % M) + M) % M;
  return 0;
}
