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