#P7820. Set1

Set1

Set1

Problem Description

You are given a set S={1..n}S=\{1..n\}. It guarantees that n is odd. You have to do the following operations until there is only 11 element in the set: Firstly, delete the smallest element of SS. Then randomly delete another element from SS. For each i[1,n]i \in [1,n], determine the probability of ii being left in the SS. It can be shown that the answers can be represented by PQ\frac{P}{Q}, where PP and QQ are coprime integers, and print the value of P×Q1 modP \times Q^{-1} \space mod  998244353.\space 998244353.

Input

The first line containing the only integer T(T[1,40])T(T \in [1,40]) denoting the number of test cases. For each test case: The first line contains a integer nn . It guarantees that: n[1,5×106] \sum n \in [1,5 \times 10^6].

Output

For each test case, you should output nn integers, ii-th of them means the probability of ii being left in the SS.

Sample Input

1
3

Sample Output

0 499122177 499122177

Source

2020 Multi-University Training Contest 5