import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
long [] t = new long[36];
t[0] = 1;
for(int i=1; i<=n; i++) {
t[i] = 0;
for(int j=0; j<i; j++) {
t[i] += (t[j]*t[i-1-j]);
}
}
System.out.println(t[n]);
}
}
2023-03-27