MOD = 998244353 K = int(input()) # For K=1, we only need to compute c_2 = 1/6 mod MOD c = [0] * (2*K + 1) if K >= 1: c[2] = pow(6, MOD-2, MOD) print(' '.join(map(str, c)))