N=int(input()) ans=1 mod=10**9+7 for i in range(N): ans*=(2*i+1)*(i+1)*(i+1) ans%=mod print(ans)