import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long MOD = (long)Math.pow(10, 9) + 7; long[][] dp = new long[n][10]; for(int j = 0; j < 10; j++) { dp[0][j] = 1; } for(int i = 1; i < n; i++) { dp[i][0] = dp[i - 1][0]; for(int j = 1; j < 10; j++) { dp[i][j] = (dp[i][j - 1] + dp[i - 1][j]) % MOD; } } long ans = 0; for(int j = 0; j < 10; j++) { ans = (ans + dp[n - 1][j]) % MOD; } System.out.println(ans); } }