import sys input = sys.stdin.readline mod=998244353 FACT=[1] for i in range(1,2*10**5+1): FACT.append(FACT[-1]*i%mod) FACT_INV=[pow(FACT[-1],mod-2,mod)] for i in range(2*10**5,0,-1): FACT_INV.append(FACT_INV[-1]*i%mod) FACT_INV.reverse() def Combi(a,b): if 0<=b<=a: return FACT[a]*FACT_INV[b]%mod*FACT_INV[a-b]%mod else: return 0 N=int(input()) from functools import lru_cache @lru_cache(maxsize=None) def calc(x,y): if y==1 or y==x: return 0 if x==3: if y==2: return 1 else: return 0 ANS=0 # 左から二つ ANS+=Combi(y-1-1,2)*calc(x-2,y-2) # 左右一つずつ ANS+=Combi(y-1-1,1)*Combi(x-y-1,1)*calc(x-2,y-1) # 端二つ ANS+=calc(x-2,y-1) # 右から二つ ANS+=Combi(x-y-1,2)*calc(x-2,y) return ANS%mod for i in range(1,N*2+2): print(calc(N*2+1,i))