n=int(input()) ans = 1 mod = 1000000007 s = pow(pow(2,n,mod),mod-2,mod) for i in range(1,n*2+1): ans *= i ans %= mod print(ans*s%mod)