import sys
input = sys.stdin.readline
mod = 998244353
N = int(input())
A = [10, 180]
a = 180
t = 81
for _ in range(N - 2):
    t = t * 10 % mod
    a = (10 * a + t) % mod
    A.append(a)
if N == 1:
    A = [10]
print(*A[::-1])

f3ec3dbeab7d63a810be33bc0041f94163dae086
<mask token>

<mask token>
for _ in range(N - 2):
    t = t * 10 % mod
    a = (10 * a + t) % mod
    A.append(a)
if N == 1:
    A = [10]
print(*A[::-1])

<mask token>
input = sys.stdin.readline
mod = 998244353
N = int(input())
A = [10, 180]
a = 180
t = 81
for _ in range(N - 2):
    t = t * 10 % mod
    a = (10 * a + t) % mod
    A.append(a)
if N == 1:
    A = [10]
print(*A[::-1])

import sys
input = sys.stdin.readline
mod = 998244353
N = int(input())
A = [10, 180]
a = 180
t = 81
for _ in range(N - 2):
    t = t * 10 % mod
    a = (10 * a + t) % mod
    A.append(a)
if N == 1:
    A = [10]
print(*A[::-1])
