func_code_string: #include <bits/stdc++.h>   using namespace std;   int n1, n2, k1, k2;   long long aa[105][105][2];   long long foo(int u, int v, int a) {     if (u == 0 && v == 0) {       return 1;     }     if (u < 0 || v < 0) {       return 0;     }     if (aa[u][v][a] != -1) return (aa[u][v][a]);     long long s = 0;     if (a) {       for (int i = 1; i <= k1; i++) {         s += foo(u - i, v, !a) % 100000000;       }     } else {       for (int i = 1; i <= k2; i++) {         s += foo(u, v - i, !a) % 100000000;       }     }     aa[u][v][a] = s;     return s;   }   int main() {     cin >> n1 >> n2 >> k1 >> k2;     long long s;     for (int i = 0; i <= 103; i++) {       for (int j = 0; j <= 103; j++) {         aa[i][j][0] = -1;         aa[i][j][1] = -1;       }     }     s = foo(n1, n2, 1);     s += foo(n1, n2, 0);     cout << s % 100000000;     return 0;   }   