N=int(input())
Mod=1000000007
F=1
for i in range(1,2*N+1):
    F*=i
    F%=Mod
print(F*pow(2,N*(Mod-2),Mod)%Mod)