#include using namespace std; using ll = long long; using pll = pair; #define drep(i, cc, n) for (ll i = (cc); i <= (n); ++i) #define rep(i, n) drep(i, 0, n - 1) #define all(a) (a).begin(), (a).end() #define pb push_back #define fi first #define se second const ll MOD = 998244353; const ll INF = 1LL << 60; const ll MAX_N = 2e5; const ll MAX = 510000; ll fac[MAX], finv[MAX], inv[MAX]; void cominit(){ fac[0] = fac[1] = 1; finv[0] = finv[1] = 1; inv[1] = 1; for(ll i=2; i> N >> L >> U; cominit(); ll ans = 0; for(ll i=L+N; i<=U+N; i++){ if(i < U+2){ ans = (ans + com((N-1)+i, i))%MOD; }else{ ll sa = (com((N-1)+i, i) - com((N-1)+i, i-(U+2))+MOD)%MOD; ans = (ans + sa)%MOD; } } cout << ans << endl; }