For a given prime integer
p and integers
α,A calculate the number of pairs of integers
(n,k), such that
0≤k≤n≤A and

is divisible by
pα.
As the answer can be rather large, print the remainder of the answer moduly
109+7.
Let us remind you that

is the number of ways
k ob
jects can be chosen from the set of n objects.
Output
In the single line print the answer to the problem.
Note
In the first sample three binominal coefficients divisible by 4 are

,

and

.