#include <bits/stdc++.h>
using namespace std;
long long dp[39][39];
long long temp, temp2;
int main() {
  int n, h;
  scanf("%d%d", &n, &h);
  dp[0][0] = 1;
  for (int p = 1; p <= n; p++) {
    for (int j = 1; j <= p; j++) {
      for (int i = 1; i <= p; i++) {
        int l = i - 1;
        int r = p - i;
        temp = 0;
        for (int k = 0; k <= j - 1; k++) {
          temp += dp[r][k];
        }
        dp[p][j] += temp * dp[l][j - 1];
        temp = 0;
        for (int k = 0; k < j - 1; k++) {
          temp += dp[l][k];
        }
        dp[p][j] += temp * dp[r][j - 1];
      }
    }
  }
  long long res = 0;
  for (int i = h; i <= n; i++) {
    res += dp[n][i];
  }
  cout << res;
  return 0;
}
