#include #define M 1000000007 int main() { int n; scanf("%d", &n); long long ans = 1; for (long long i = 0; i < n * 2; i += 2) { ans *= (i + 2) * (i + 1) / 2 % M; ans %= M; } for (int i = 1; i <= n; i++) { ans = ans * i % M; } printf("%lld\n", ans); return 0; }