N = int(input()) mod = 10 ** 9 + 7 ans = 1 for i in range(2 * N, 1, -2): ans *= i * (i - 1)//2 ans %= mod print(ans)