#Lutece2888. 天结

天结

Migrated from Lutece 2888 天结

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

阿瓦罗正在帮菲亚升级她的武器。 初始武器等级为 00,阿瓦罗会进行 nn 次升级,每次有 Q1+Q\frac{Q}{1+Q} 的概率成功,如果成功武器等级会加一,如果升级完成的等级为 ii,武器的 atkatk 会增加 iki^k。 现在阿瓦罗想知道武器的 atkatk 期望增加多少。 为了避免精度问题,他只需要知道这个答案乘 (1+Q)n(1+Q)^n 的结果。 由于这个数字可能很大,他只想知道答案对 998244353998244353 取模后的结果。

Input

一行读入三个整数 n,k,Qn,k,Q

Output

输出一个整数表示答案对 998244353998244353 取模后的结果。

Samples

2 2 2
24

Constraints

1n,Q9×108,0k1051\le n,Q \le 9\times 10^8,0\le k\le 10^5

Resources

2022 UESTC ICPC Training for Math and Geometry