N = int(input()) mod = 998244353 dp = [[0] * (2 * N + 5) for _ in range(2 * N + 5)] dp[1][1] = 1 for i in range(2 * N + 2): for j in range(2 * N + 2): dp[i + 2][j] += dp[i][j] * i * (i + 1)//2 dp[i + 2][j] %= mod dp[i][j + 2] += dp[i][j] * j * (j + 1)//2 dp[i][j + 2] %= mod dp[i + 1][j + 1] += dp[i][j] * (i * j + 1) dp[i + 1][j + 1] %= mod for i in range(2 * N + 1): print(dp[i][2 * N - i])