Given a sequence of length $$$n$$$, $$$a_1,a_2,\ldots,a_n$$$, initially $$$a_i=i$$$. Perform $$$n-1$$$ operations on the sequence, where the $$$i$$$-th operation involves choosing an integer $$$j$$$ uniformly at random from the range $$$[1,n-i]$$$, and setting $$$a_j$$$ to $$$a_j+2a_{n-i+1}$$$.
Find the value of $$$a_1$$$ modulo $$$998244353$$$ after all operations are completed.
The first line contains a positive integer $$$T$$$ ($$$1\leq T\leq 10^4$$$), indicating the number of test cases.
Following are $$$T$$$ lines, each containing a positive integer $$$n$$$ ($$$1\leq n\leq 10^9$$$), representing the length of the sequence.
$$$T$$$ lines, each containing an integer representing the value of $$$a_1$$$ modulo $$$998244353$$$.
3425
30 5 55
3435
30 14 55
3813
204 1 14