#include <bits/stdc++.h>
using namespace std;
inline int add(int a, int b, int m = 1000000007) {
  a += b;
  if (a >= m) a -= m;
  return a;
}
inline int mul(int a, int b, int m = 1000000007) {
  return (int)(((long long)a * (long long)b) % m);
}
long long m[40][40];
long long f(int n, int h) {
  if (n == 0) return 1;
  if (h == 0) return 0;
  long long &ans = m[n][h];
  if (ans != -1) return ans;
  ans = 0;
  for (int i = 1; i <= n; ++i) ans += f(i - 1, h - 1) * f(n - i, h - 1);
  return ans;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  memset(m, -1, sizeof(m));
  int n, h;
  cin >> n >> h;
  cout << f(n, n) - f(n, h - 1);
  return 0;
}
