N = int(input()) MOD = 10**9+7 fac = [1,1] + [0]*(N+20) finv = [1,1] + [0]*(N+20) inv = [0,1] + [0]*(N+20) for i in range(2,N+21): fac[i] = fac[i-1] * i % MOD inv[i] = -inv[MOD%i] * (MOD // i) % MOD finv[i] = finv[i-1] * inv[i] % MOD def ncr(n,r): if n < r: return 0 if n < 0 or r < 0: return 0 return fac[n] * (finv[r] * finv[n-r] % MOD) % MOD ans = ncr(N+9,9) print(ans)