A ladder has $$$n$$$ sections, each of which has a positive integer length, and the lengths are sequentially non-increasing. That is, the lengths of these $$$n$$$ sections from left to right $$$d_1, d_2, \ldots, d_n$$$ should satisfy $$$d_1 \ge d_2 \ge \cdots \ge d_n$$$.
Little Q needs a ladder that, when stood upright, has a height exactly equal to $$$m$$$, where the height of a ladder is defined as the altitude difference between its highest end and its lowest end. For safety reasons, this ladder needs to be stable, which means it satisfies the following requirements:
You need to compute the number of different stable ladders with $$$n$$$ sections that can be constructed if their height when stood upright is exactly $$$m$$$. Two ladders are considered different if and only if there exists some $$$k$$$ such that the lengths of the $$$k$$$-th section of the two ladders are different, or if the $$$k$$$-th section of one ladder is locked into the upper end of the $$$(k+1)$$$-th section while the $$$k$$$-th section of the other ladder is locked into the lower end of the $$$(k+1)$$$-th section.
Since the answer may be large, output it modulo $$$998\,244\,353$$$.
The first line of the input contains an integer $$$T$$$ ($$$1 \le T \le 10^5$$$), indicating the number of test cases. For each test case:
The only line contains two integers $$$n$$$ and $$$m$$$ ($$$1 \le n, m \le 2\,000$$$), indicating the number of sections and the required height of the stable ladder.
For each test case, output a line containing an integer, indicating the number of different stable ladders modulo $$$998\,244\,353$$$.
31 32 33 3
1 4 10
12000 2000
204576309
In the following explanation, we use bold text to indicate that the upper end of the corresponding section is locked into the lower bound of the next section and keep the same in other scenarios.
In the first sample case:
| Name |
|---|


