#define MD 998244353 ll@n++,@m,@k,h[n]{},b[n]{}; rep(m){ ll@a; if(a