| Insomnia-26 |
|---|
| Finished |
There are $$$n$$$ players in the academy, numbered from $$$1$$$ to $$$n$$$. To practice quick decision-making, they introduce a drill with the following rules:
Your task is to determine the number of possible passing arrangements such that exactly one player is forgotten.
Since the answer may be large, print it modulo $$$998\,244\,353$$$.
The first line contains one positive integer $$$t$$$ ($$$1 \le t \le 10^4$$$) — the number of test cases.
The first line of each testcase contains a single integer $$$n$$$ ($$$2 \le n \le 10^6$$$).
For each test case, output the number of valid passing arrangements modulo $$$998\,244\,353$$$.
3234
0648
For $$$n = 2$$$, no valid passing arrangements exist.
For $$$n = 3$$$, all valid passing arrangements where exactly one player receives no ball are as follows:
Thus, we have a total of $$$6$$$ possible ways.
| Name |
|---|


