n=int(input()) M=10**9+7 a=1 for i in range(1,10): a*=(n+9-i+1)*pow(i,M-2,M) a%=M print(a)