n=int(input()) M=1000000007 i2=pow(2,M-2,M) a=1 for i in range(1,n+1): a*=(i*2-1)*(i*2+0) a*=i2 a%=M print(a)