import java.util.*; public class Main { static final int MOD = 1000000007; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[][] dp = new int[n + 1][10]; Arrays.fill(dp[0], 1); for (int i = 1; i <= n; i++) { for (int j = 0; j < 10; j++) { if (j > 0) { dp[i][j] = (dp[i - 1][j] + dp[i][j - 1]) % MOD; } else { dp[i][j] = dp[i - 1][j]; } } } System.out.println(dp[n][9]); } }