include <stdio.h> include <string.h> int dp(int m, int n){ if(!m || !n) return 1; else return dp(m - 1, n) + dp(m, n - 1);}int main(){ int m, n; while(scanf("%d %d", &n, &m)!=EOF){ printf("%d\n", dp(m, n)); } return 0;}