#define MD 998244353 ll@H,@W;mint t=2;wt(t**(H*W)-t**(H+W-3));