#include #include #include #include #include #include using namespace std; using i32 = int32_t; using u32 = uint32_t; using i64 = int64_t; using u64 = uint64_t; #define rep(i,n) for(int i=0; i<(int)(n); i++) const i64 INF = 1001001001001001001; using Modint = atcoder::static_modint<998244353>; int main(){ int C, X; cin >> C >> X; if(X == 0){ Modint ans = Modint(C+1).inv(); cout << ans.val() << '\n'; return 0; } vector dp0(X+1); dp0[X] = 1; for(int i=C+1; i<=X; i++){ Modint per = Modint(i).inv(); for(int j=0; j