#include<iostream> #include<cstdio> typedeflonglong LL; usingnamespace std; constint N = 2e6 + 10, mod = 20100403; int fact[N], infact[N]; intqp(int a, int k) { int res = 1 % mod; while (k) { if (k & 1) res = (LL)res * a % mod; a = (LL)a * a % mod; k >>= 1; } return res; } intC(int a, int b) { return (LL)fact[a] * infact[b] % mod * infact[a - b] % mod; } intmain() { int n, m; cin >> n >> m; fact[0] = infact[0] = 1; for (int i = 1; i <= n + m; i++) { fact[i] = (LL)fact[i - 1] * i % mod; infact[i] = (LL)infact[i - 1] * qp(i, mod - 2) % mod; } cout << ((C(n + m, n) - C(n + m, m - 1)) % mod + mod) % mod; return0; }