N = int(input()) MOD = int(1e9 + 7) f = 1 for i in range(2, 2 * N + 1): f = f * i % MOD for i in range(N): f = f * 500000004 % MOD print(f)