include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
int n,m;
int cmt=0;//定义全局变量 所有函数里值都一样change
void f(int a,int b){
if(a==n&&b==m) cmt++;
else {
if(a<n) f(a+1,b);
if(b<m) f(a,b+1);
}
}
int main(){
cin>>n>>m;
f(0,0);
cout<<cmt<<endl;
return 0;
}