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