#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <algorithm>
#include <climits>
#include <cstring>
#include <string>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <vector>
#include <list>
#include <ext/rope>
#define rep(i,m,n) for(i=m;i<=n;i++)
#define rsp(it,s) for(set<int>::iterator it=s.begin();it!=s.end();it++)
#define vi vector<int>
#define pii pair<int,int>
#define mod 1000000007
#define inf 0x3f3f3f3f
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define ll long long
#define pi acos(-1.0)
const int maxn=2e5+10;
const int dis[4][2]={{0,1},{-1,0},{0,-1},{1,0}};
using namespace std;
using namespace __gnu_cxx;
ll gcd(ll p,ll q){return q==0?p:gcd(q,p%q);}
ll qpow(ll p,ll q){ll f=1;while(q){if(q&1)f=f*p;p=p*p;q>>=1;}return f;}
int n,m;
string dp[110][110],ans;
string work(string a,string b)
{
int len1=a.length(),len2=b.length(),ma=max(len1,len2),cnt=0,i;
string now;
for(i=0;i<ma;i++)
{
if(i<len1&&i<len2)
{
cnt=a[i]-‘0‘+b[i]-‘0‘+cnt;
now+=cnt%10+‘0‘;
cnt=cnt/10;
}
else if(i<len1)
{
cnt=a[i]-‘0‘+cnt;
now+=cnt%10+‘0‘;
cnt=cnt/10;
}
else if(i<len2)
{
cnt=b[i]-‘0‘+cnt;
now+=cnt%10+‘0‘;
cnt=cnt/10;
}
}
if(cnt)now+=cnt+‘0‘;
return now;
}
int main()
{
int i,j,k,t;
ans="0";
dp[1][0]=dp[1][1]="1";
for(int i=2;i<=100;i++)
for(int j=0;j<=i;j++){
dp[i][j]="0";
for(int k=0;k<=j&&k<=i-1;k++)
dp[i][j]=work(dp[i][j],dp[i-1][k]);
}
scanf("%d",&n);
rep(i,1,n)ans=work(ans,dp[n][i]);
reverse(ans.begin(),ans.end());
cout<<ans<<endl;
//system ("pause");
return 0;
}