#define MD 998244353 ll f(ll x){return(x+1)/2*(x/2+3-x%2)/2+(x/2+3)*(x/2)/2;};{ll@H,@W;Mint h=H,a=f(H);Wt(H*h*W*W-a*f(W));}