def main(): n = int(input()) def modpow(a, n, mod): res = 1 while n > 0: if n & 1: res = res * a % mod a = a * a % mod n >>= 1 return res def modinv(a, mod): return modpow(a, mod - 2, mod) def p(a): MOD = 10**9+7 ret = 1 for i in range(1, a+1): ret *= i ret %= MOD return ret print(p(2*n) * modinv(2**n, MOD) % MOD) if __name__ == '__main__': main()