import java.io.FileNotFoundException; import java.math.BigDecimal; import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) throws FileNotFoundException { long t = System.currentTimeMillis(); new Main().run(); System.err.println(System.currentTimeMillis() - t); } long inv(long a) { return pow(a,MOD-2); } long pow(long a,long n) { long ret=1; for(;n>0;n>>=1,a=a*a%MOD)if(n%2==1)ret=ret*a%MOD; return ret; } final long MOD=(long)1e9+7; void run() { Scanner sc = new Scanner(System.in); int N=sc.nextInt(); long ans=1; for(long i=1;i<=2*N;++i)ans=ans*i%MOD; for(long i=1;i<=N;++i)ans=ans*inv(2)%MOD; System.out.println(ans); } static void tr(Object... objects) { System.out.println(Arrays.deepToString(objects)); } }