#define MD 998244353 ll@--(H,W),S=H*W;Combc;Mint t=2;wt(S?sum[i,0,W