#include <bits/stdc++.h>
using namespace std;
long long dp[100][100];
long long n, m, k, i, j, h, x, y, cur, cnt, res;
int main() {
  cin >> n >> h;
  dp[0][0] = 1;
  for (i = 1; i <= 35; i++)
    for (j = 1; j <= 35; j++)
      for (x = 1; x <= i; x++) {
        cur = 0;
        for (y = 0; y <= j - 1; y++) cur += dp[i - x][y];
        cnt = 0;
        for (y = 0; y <= j - 2; y++) cnt += dp[x - 1][y];
        dp[i][j] += cnt * dp[i - x][j - 1] + cur * dp[x - 1][j - 1];
      }
  for (i = h; i <= n; i++) res += dp[n][i];
  cout << res;
}
