#include using namespace std; #define ll long long #define pll pair #define pii pair #define fs first #define sc second const ll mxn = 6e5+10; const ll mod = 998244353; ll fac[mxn],ifac[mxn]; ll pw(ll a,ll b){ ll re = 1; while(b){ if(b&1)re = re*a%mod; b>>=1; a = a*a%mod; } return re; } ll inv(ll k){ return pw(k,mod-2); } ll C(ll a,ll b){ if(a>=mxn||b>=mxn)return -1; if(a>x>>y>>z>>w; fac[0] = ifac[0] = 1; for(int i = 1;i