N = int(input()) MOD = 10**9+7 f = 1 for n in range(1,2*N+1): f=f*n%MOD print(f*pow(2,-N,MOD)%MOD)