#include <bits/stdc++.h>
using namespace std;
int64_t dp[36][36], n, h, i, j, k, l, tmp, tmp2, tmpl, tmpr, ans;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> n >> h;
  dp[0][0] = 1;
  for (i = 1; i <= 35; ++i) {
    for (j = 1, tmpl = tmpr = 0; j <= 35; ++j) {
      for (k = tmpl = tmpr = 0; k < i; ++k) {
        for (l = tmp = tmp2 = 0; l < j; ++l)
          tmp += dp[k][l], tmp2 += dp[i - k - 1][l];
        tmp2 -= dp[i - k - 1][j - 1];
        tmpl += dp[i - k - 1][j - 1] * tmp;
        tmpr += dp[k][j - 1] * tmp2;
      }
      dp[i][j] = tmpl + tmpr;
    }
  }
  for (int i = h; i <= n; ++i) ans += dp[n][i];
  cout << ans;
}
