#include
using namespace std;
#define ll long long
ll catalan(ll n,ll k)
{
if(k>n-k)
{
k=n-k;
}
ll res=1;
for(ll i=0;i<k;i++)
{
res*=(n-i);
res/=(i+1);
}
res=(res)/(k+1);
return res;
}
int main()
{
ll n;
cin>>n;
ll ans=catalan(2*n,n);
cout<<ans<<endl;
}
//one test case is failng plz tell me that test case