#include using namespace std; typedef long long ll; ll MOD = 1e9 + 7; int main(void) { ll N; cin >> N; ll ans = 1; for (int i = 1; i <= 2*N; i++) { ans *= i % 2 == 0 ? i/2 : i; ans %= MOD; } cout << ans << endl; return 0; }