n = int(input()) A = [1] * (n + 1) for _ in range(3): B = [0] * (2 * len(A) - 1) for i, a in enumerate(A): for j, b in enumerate(A): B[i + j] += a * b A = B print(A[6 * n])