#include <bits/stdc++.h>
using namespace std;
int n, h;
unsigned long long dp[40][40];
void calculate(int i, int j) {
  for (int a = 1; a <= i; a++) {
    unsigned long long aux = 0;
    for (int b = 0; b <= j - 1; b++) aux += dp[i - a][b];
    dp[i][j] += aux * dp[a - 1][j - 1];
    aux = 0;
    for (int b = 0; b <= j - 2; b++) aux += dp[a - 1][b];
    dp[i][j] += aux * dp[i - a][j - 1];
  }
}
int main() {
  scanf("%d %d", &n, &h);
  dp[0][0] = 1;
  for (int i = 1; i <= n; i++)
    for (int j = 1; j <= n; j++) calculate(i, j);
  unsigned long long sol = 0;
  for (int i = h; i <= n; i++) sol += dp[n][i];
  printf("%llu\n", sol);
  return 0;
}
