k=gets.to_i (p 0;exit)if k%2==1 s=t=1 m=10**9+7 (k/2).times{|i|s*=k-i;s%=m;t*=i+1;t%=m} p s*t.pow(m-2,m)%m