AtCoder Regular Contest 167
B
Product of Divisors
AtCoder
⌀ 1292
原题
← AC →
翻译中…

Problem Statement

翻译中…

At most how many times can the product of all positive divisors of $A^{B}$ be divided by $A$?

翻译中…

It can be shown from the constraints that this count is finite, so find it modulo $998244353$.

翻译中…

Constraints

翻译中…
  • $2\leq A\leq 10^{12}$
  • $0\leq B\leq 10^{18}$
  • All input values are integers.
翻译中…

Input

翻译中…

The input is given from Standard Input in the following format:

翻译中…

A B

翻译中…

Output

翻译中…

Print the answer.

翻译中…

样例

Input #1
2 3
Output #1
6
The positive divisors of $A^{B}=8$ are $1$, $2$, $4$, and $8$, whose product is $64$. $64$ can be divided by $2$ at most six times, so print $6$.
Input #2
924 167
Output #2
867046524
Input #3
167167167167 0
Output #3
0
题目信息
题号
arc167_b
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。