Binomial Coefficient 3

No attempts yetTime limit1sMemory limit256 MB

Problem

You are given a natural number NN and an integer KK. Write a program that computes the remainder of the binomial coefficient (NK)\binom{N}{K} divided by 1,000,000,007.

Input

The first line contains NN and KK, separated by a single space. (1N4,000,0001 \le N \le 4{,}000{,}000, 0KN0 \le K \le N)

Output

Print the remainder of (NK)\binom{N}{K} divided by 1,000,000,007 on the first line.