You are given an array $$$a$$$ of size $$$n$$$ consisting of non-negative integers. At first, your score is $$$0$$$.
You can perform the following operation:
You need to answer $$$q$$$ independent queries. For the $$$i$$$-th query, given a number $$$x_i$$$, you should find the maximum score you can obtain after performing exactly $$$x_i$$$ operations. Since the answer may be large, output the answer modulo $$$998\,244\,353$$$.
The first line contains an integer $$$t$$$ $$$(1 \le t \le 10^5)$$$, the number of test cases.
For each test case,the input consists of four lines:
It is guaranteed that the sum of $$$n$$$ and $$$q$$$ over all test cases will not exceed $$$2 \cdot 10^5$$$.
For each test case, output $$$q$$$ space-separated integers in a single line, representing the maximum score after performing $$$x_i$$$ operations, modulo $$$998\,244\,353$$$.
248 7 2 1221 26100000 0 99882 191 99699 487415 4 12 200000
15 40258200160 1100098 60800104 385867226
In the first test case,