N = int(input()) MOD = 10 ** 9 + 7 arr = [1] for i in range(1, 2*N+1): if i % 2 == 0: i //= 2 arr.append(arr[-1] * i % MOD) ans = arr[2*N] print(ans)