from \
  kgmk.dsa.combinatorics \
  .choose.np \
import (
  Choose,
)
import numpy as np


def test():
  mod = 10 ** 9 + 7
  c = Choose(1 << 20, mod)
  assert c(40, 20) == 846527861
  print(c(np.arange(10), 3))


if __name__ == '__main__':
  test()