import java.io.*; import java.util.*; public class Main_yukicoder523 { private static Scanner sc; private static Printer pr; private static void solve() { int n = sc.nextInt(); long inv2 = pow(2, MOD - 2); long ret = 1; for (int i = 1; i <= 2 * n; i++) { ret *= i; ret %= MOD; } for (int i = 0; i < n; i++) { ret *= inv2; ret %= MOD; } pr.println(ret); } private static final int MOD = 1_000_000_007; private static long pow(int a, int n) { long loop = n; long ret = 1; long x = a; while (loop > 0) { if (loop % 2 == 1) { ret = ret * x % MOD; } x = x * x % MOD; loop /= 2; } return ret; } // --------------------------------------------------- public static void main(String[] args) { sc = new Scanner(System.in); pr = new Printer(System.out); solve(); pr.close(); sc.close(); } private static class Printer extends PrintWriter { Printer(PrintStream out) { super(out); } } }