n = int(input()) ans = 1 for i in range(1, 10): ans *= n + i for i in range(1, 10): ans //= i print(ans % 1000000007)