Score : $600$ points
Given are positive integers $N$ and $M$.
For each $k=1,2,\ldots,N$, find the following number and print it modulo $998244353$.
Input is given from Standard Input in the following format:
$N$ $M$
Print $N$ lines; the $i$-th line $(1 \leq i \leq N)$ should contain the answer for the case $k=i$.
4 2
1 2 1 0
7 7
1 3 4 3 2 1 1