#define MD 998244353 ll@N,@++M;Polynomialf,o{1};f.change(1,1);rep(N)f*=f+o,f.d