#include #include #include using namespace std; using ll=long long; #define rep(i,n) for(int i=0;i=0;i--) #define all(v) v.begin(),v.end() #define rall(v) v.rbegin(),v.rend() template bool chmax(T &a, T b){if (a < b){a = b;return true;} else return false;} template bool chmin(T &a, T b){if (a > b){a = b;return true;} else return false;} const int MAX=1e6,MOD=998244353; vectorfac(MAX),finv(MAX),inv(MAX); void set_fac(){ fac[0]=fac[1]=1; finv[0]=finv[1]=1; inv[1]=1; for (int i=2;i>n>>m>>a>>b; if(a*(n-1)>b){ cout<<0<<"\n"; return 0; } m-=a*(n-1); b-=a*(n-1); ll ans=0; for(int i=0;i<=b;i++){ ll cnt=cmb(i+n-2,i)*(m-i)%MOD; ans+=cnt; ans%=MOD; } rep(i,n)ans=ans*(i+1)%MOD; cout<