#include <bits/stdc++.h>
using namespace std;
const long long sz = 1e5;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(0);
  long long n, h;
  long long dp[1000][1000];
  memset(dp, 0, sizeof dp);
  cin >> n >> h;
  for (long long i = 1; i <= n; ++i) {
    dp[0][i - 1] = 1;
    for (long long j = 1; j <= n; ++j) {
      for (long long k = 0; k < j; ++k) {
        dp[j][i] += dp[k][i - 1] * dp[j - 1 - k][i - 1];
      }
    }
  }
  cout << dp[n][n] - dp[n][h - 1] << endl;
}
