#define MD 998244353 ll@n; Mint d[3004]{1}; rep(i,n){ rrep(j,i+1){ d[j+1]=d[j]+d[j+1]*25; } d[0]*=25; } Mint z; rep(i,n+1){ z+=i/3*d[i]; } wt(z);