#include #include #include using namespace std; typedef long long int ll; const ll MOD = 1000000007; ll n,ans=1; int main() { cin >> n; for (int i = 2 * n,ct=0; i >= 1; i--) { int i2 = i; for (; ct < n && ((i2 & 1) == 0); ct++, i2 = (i2 >> 1)); ans *= i2; ans %= MOD; } cout << ans << endl; return 0; }