#include #include using namespace std; const int MOD = 1e9 + 7; int n, ans; int main() { // freopen("led.in", "r", stdin); // freopen("led.out", "w", stdout); scanf("%d", &n); ans = 1; n *= 2; while (n) { ans = 1LL * (n - 1) * n / 2 % MOD * ans % MOD; n -= 2; } printf("%d\n", ans); return 0; }