#include #define MOD 1000000007 using namespace std; int N; int main(void){ cin >> N; int i; long long result = 1; for(i = 1; i <= N * 2; ++i){ result *= i; if(i % 2 == 0) result /= 2; result %= MOD; } printf("%lld\n", result); return 0; }