#Lutece1160. LCM and GCD

LCM and GCD

Migrated from Lutece 1160 LCM and GCD

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

Can you calculate how many sequence a1,a2,...,aka_1, a_2, ..., a_k satisfied that gcd(a1,a2,...,aka_1, a_2, ..., a_k) = dd and lcm(a1,a2,...,aka_1, a_2, ..., a_k) = nn. All aia_i (1ik1 \leq i \leq k) are positive integers.

gcd is the greatest common divisor and lcm is the least common multiple.

Two sequences AA and BB are different if there is at least one ii (1ik1 \leq i \leq k) that AiBiA_i \neq B_i .

Input

There is only one line contains three integers kk (2k1092 \leq k \leq 10^9), dd (1d1091 \leq d \leq 10^9), nn (1n1091 \leq n \leq 10^9).

Output

Output one line with the answer mod 109+710^9+7.

Samples

2 1 6
4

Note

Sample is (1,6), (2,3), (3,2), (6,1).

Resources

2015 UESTC ACM Summer Training Team Selection (4)