#include<bits/stdc++.h>
using namespace std;
long long Catalan(int m)
{
if (m==1)
return 1;
return (Catalan(m-1)*(4*m-2)/(m+1));
}
int main()
{
int n;
scanf("%d",&n);
cout<<Catalan(n)<<endl;
using namespace std;
long long Catalan(int m)
{
if (m==1)
return 1;
return (Catalan(m-1)*(4*m-2)/(m+1));
}
int main()
{
int n;
scanf("%d",&n);
cout<<Catalan(n)<<endl;
}
//卡特兰数