#include #include using namespace std; using namespace atcoder; using mint = static_modint<100000000>; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int m, n; cin >> m >> n; mint ans = 1; int p2 = 0, p5 = 0; if (n > m) { ans = 0; } else { for (int i = 1; i <= n; i++) { { int x = i; while (x % 2 == 0) { p2--; x /= 2; } while (x % 5 == 0) { p5--; x /= 5; } ans /= x; } { int x = m - i + 1; while (x % 2 == 0) { p2++; x /= 2; } while (x % 5 == 0) { p5++; x /= 5; } ans *= x; } } ans *= mint(2).pow(p2) * mint(5).pow(p5); } cout << setfill('0') << setw(8) << ans.val(); }