#Q213. 「一本通 6.4 例 3」Sumdiv

「一本通 6.4 例 3」Sumdiv

Description

Original source: Romania OI 2002

Find the sum of all divisors of ABA^B modulo 99019901.

Input Format

Input two integers AA and BB.

Output Format

Output the answer modulo 99019901.

Sample 1

23=82^3=8, and the divisors of 88 are 1,2,4,81, 2, 4, 8. The sum 1+2+4+8=151+2+4+8=15, and 15mod9901=1515\bmod 9901=15. Thus, the output is 1515.

2 3

15

Data Range and Hints

For all data, 0A,B5×1070\le A,B\le 5\times 10^7.