@staticmethod
def d():
    (n, k) = map(int, sys.stdin.read().split())
    combinatorics = Combinatorics()
    print(combinatorics.mod_choose(((n + k) - 1), k))
@staticmethod
def d():
    (n, k) = map(int, sys.stdin.read().split())
    combinatorics = Combinatorics()
    print(combinatorics.mod_choose(((n + k) - 1), k))