MOD = 998244353

K = int(input())
ans = [0] * (2*K + 1)
ans[2] = 166374059  # 1/6 mod MOD
print(' '.join(map(str, ans)))