#include <bits/stdc++.h>   using namespace std;   const long long MOD = 998244353LL, INV2 = (MOD + 1) / 2;   const int MAXN = 500;   long long DP[MAXN + 1][MAXN + 1];   int main() {     ios::sync_with_stdio(0);     cin.tie(0);     int N, K;     cin >> N >> K;     for (int k = 1; k <= min(N, K); ++k) {       DP[k][0] = 2;       for (int n = 1; n <= N; ++n) {         for (int m = n - 1; m >= 0 && n - m <= k; --m) DP[k][n] += DP[k][m];         DP[k][n] %= MOD;       }     }     long long ans = 0;     for (int k = 1; k <= N && k < K; ++k) {       long long aux = (DP[k][N] + MOD - DP[k - 1][N]) *                       DP[min((K + k - 1) / k - 1, N)][N] % MOD;       aux = aux * INV2 % MOD;       ans += aux;       ans %= MOD;     }     cout << ans <<   n ;     return 0;   }   