#include <iostream> using namespace std; int m, n, ans; void solve(int m, int n, int cnt)
{
if (m == && n == )
{
ans++;
return;
}
if (cnt > && n > ) solve(m, n-, cnt-);
if (m > ) solve(m-, n, cnt+);
} int main(int argc, char const *argv[])
{
cin >> m >> n;
solve(m, n, );
cout << ans;
return ;
}