#include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
#pragma GCC target("avx2")
#pragma GCC optimization("O3")
#pragma GCC optimization("unroll-loops")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
const int mod = 998244353;
const int inf = 1000000009;
const long long INF = 1000000000000000009;
const long long big = 1000000000000000;
const long double eps = 0.000000000000000000001;
using namespace std;
int D[200005];
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  D[0] = 1;
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) D[i] = ((long long)10 * D[i - 1]) % mod;
  for (int i = 1; i <= n; i++) {
    if (i == n) {
      cout << 10;
      continue;
    }
    long long wynik =
        (long long)10 * ((long long)2 * D[n - i - 1] * 9 +
                         (long long)(n - i - 1) * 9 * 9 * D[n - i - 2]);
    wynik %= mod;
    cout << wynik << " ";
  }
  return 0;
}
