use bigint;print+(bmodpow{26}$n=<>-4,$m=998244353)*(bnok{$n+4}4)%$m