#include using namespace std; using ll = long long; #define rep(i,n) for(int (i)=0;(i)<(int)(n);++(i)) #define all(x) (x).begin(),(x).end() #define pb push_back #define fi first #define se second #define dbg(x) cout<<#x" = "<<((x))< ostream& operator<<(ostream& o, const pair &p){o<<"("< ostream& operator<<(ostream& o, const vector &v){o<<"[";for(T t:v){o<>=1; } return ret; } inline ll mod_inv(ll x){ return mod_pow(x,mod-2); } int main() { ll n; cin >>n; ll ans=1; for(int i=2; i<=2*n; ++i) (ans*=i)%=mod; (ans *= mod_inv(mod_pow(2,n))) %= mod; cout << ans << endl; return 0; }