from math import factorial c = lambda y, x: factorial(y) // factorial(x) // factorial(y - x) mod = 1000000007 print(c(int(input()) + 9, 9) % mod)