We are given integers n and c.
A sequence a_1,a_2,…,a_m is good if and only if:
For a good integer sequence a_1,a_2,…,a_m, let us define
f(a)=∑_i=1m−1\[a_i>a_i+1].
That is, f(a) denotes the number of indices i that satisfy a_i>a_i+1 among all 1≤i≤m−1. We define the weight of the sequence a as the value of cf(a).
Your task is to calculate the sum of the weights of all good sequences, modulo 998,244,353.
The first line contains two integers n and c (1≤n≤3⋅105, 0≤c<998,244,353).
Output the answer modulo 998,244,353.
In the first example, all good sequences are as follows:
| a | f(a) | cf(a) |
|---|---|---|
| \[5] | 0 | 1 |
| \[2,3] | 0 | 1 |
| \[3,2] | 1 | 3 |
| \[2,1,2] | 1 | 3 |
So the answer is 1+1+3+3=8.