You live in a city with a mysterious transportation network consisting of $$$n$$$ locations and $$$m$$$ bi-directional roads. For the $$$i$$$-th road ($$$1\leq i \leq m$$$), the time taken to travel across it is $$$2^{i-1}$$$ minutes.
Alice is new to the city and is getting ready for her road trips. However, to her horror, Google Maps is not available in this city!
Alice turns to you, an aspiring competitive programmer. Alice's house is located at location $$$1$$$. For every location $$$v$$$ ($$$2\leq v \leq n$$$), please help Alice find the minimum travel time from location $$$1$$$ to location $$$v$$$, and output that time modulo $$$998244353$$$.
The first line contains a single integer $$$t$$$ ($$$1\leq t \leq 10^3$$$), the number of test cases. For each test case,
$$$t$$$ lines. For each test case, output one line containing $$$n-1$$$ integers $$$d_2, d_3,\cdots, d_n$$$, where $$$d_i$$$ is defined by:
16 72 33 42 44 52 51 51 2
43 42 40 32 -1
There is $$$1$$$ test case. The figure below provides a visualisation.
Illustration of the sample test case The minimum travel time routes from location $$$1$$$ are as follows: