import java.util.*; public class Main { static final int MOD = 1000000007; public static void main (String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long ans = 1; for (int i = 1; i <= n * 2; i++) { if (i % 2 == 0) { ans *= i / 2; } else { ans *= i; } ans %= MOD; } System.out.println(ans); } }