#include #include using namespace atcoder; using mint = modint998244353; using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf 1000000001 mint get(long long N){ if(N+3<0)return 0; mint ret = 1; rep(i,3){ ret *= N+3-i; ret /= i+1; } return ret; } int main() { long long L,R,A,B,C; cin>>L>>R>>A>>B>>C; long long N = R-L-A-B; if(N<0){ cout<<0<