N=int(input()) Mod=10**9+7 DP=[[0]*10 for _ in range(N+1)] DP[1]=[1]*10 for k in range(2,N+1): D=DP[k] E=DP[k-1] s=0 for x in range(10): D[x]=s=(s+E[x])%Mod print(sum(DP[N])%Mod)