#define MD 998244353 int@n,@q,k[n]{}; string@s; rep(q){ int@t,@l--,@r; if(t==1){ while(l?=r; l=x; }else{ k[l]=r; l+=1; } } }else{ Mint f,g; while(l