#include using namespace std; constexpr int mod = 1000000007; int n; int main() { cin >> n; int ret = 1; for (int i = 1; i <= n; i++) { ret = 1LL * ret * (2 * i - 1) % mod * i % mod * i % mod; } cout << ret << "\n"; return 0; }