n,m=1e9+7;main(s){for(scanf("%d",&n);n;)s=s*(2*n-1L)%m*n--%m;printf("%d",s);}