~/algor $ cat problems/sonlar-daraja-boluvchilari
Number of divisors of a power
Medium
1000 ms
128 MB
62%
You are given a positive integer $a$ and a non-negative integer $b$. How many positive divisors does $a^{b}$ have? The answer can be very large; print it modulo $10^{9} + 7$. For example, $12^{2} = 144$ has $15$ divisors.
Input
One line with two integers: $a$ and $b$.
Output
One integer — the number of divisors modulo $10^{9} + 7$.
Note
$1 \le a \le 10^{12}$
$0 \le b \le 10^{18}$
Examples
Input #1
12 2
Output #1
15
Input #2
7 0
Output #2
1