@staticmethod
def c():
    (h, w) = map(int, sys.stdin.read().split())
    combinatorics = Combinatorics(n=(2 * (10 ** 5)), mod=MOD)
    print(combinatorics.mod_choose(((h + w) - 2), (h - 1)))
@staticmethod
def c():
    (h, w) = map(int, sys.stdin.read().split())
    combinatorics = Combinatorics(n=(2 * (10 ** 5)), mod=MOD)
    print(combinatorics.mod_choose(((h + w) - 2), (h - 1)))