import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); final int MOD = 1000000007; long[] pow26 = new long[n + 1]; pow26[0] = 1; for (int i = 1; i <= n; i++) { pow26[i] = (pow26[i - 1] * 26) % MOD; } long s...