Count the Arrays
Your task is to calculate the number of arrays such that:
- each array contains n elements;
- each element is an integer from 1 to m;
- for each array, there is exactly one pair of equal elements;
- for each array a, there exists an index i i i such that the array is strictly ascending before the i − t h i-th i−th element and strictly descending after it (formally, it means that a j < a j + 1 aj<aj+1 aj<aj+1, if j < i j<i j<i, and a j > a j + 1 aj>aj+1 aj>aj+1, if j ≥ i j≥i j≥i).
Input
The first line contains two integers n n n and m ( 2 ≤ n ≤ m ≤ 2 ⋅ 1 0 5 ) . m (2≤n≤m≤2⋅10^5). m(2≤n≤m≤2⋅105).
Output
Print one integer — the number of arrays that meet all of the aforementioned conditions, taken modulo 998244353.
Examples
input
3 4
output
6
input
3 5
output
10
input
42 1337
output
806066790
input
100000 200000
output
707899035