#include <bits/stdc++.h>
using namespace std;
inline long long read() {
  register long long t = 0;
  register char v = getchar();
  while (v < '0') v = getchar();
  while (v >= '0') t = (t << 3) + (t << 1) + v - 48, v = getchar();
  return t;
}
long long t, n, m, k, x, jc[400002], ans;
signed main() {
  n = read();
  jc[0] = 1;
  for (register long long i = 1; i <= n * 2; ++i)
    jc[i] = jc[i - 1] * 10 % 998244353;
  for (register long long i = 1; i <= n; ++i) {
    ans = 0;
    if (i == n)
      ans += 10;
    else if (i == n - 1)
      ans += 180;
    else {
      ans += (n - i - 1) * jc[n - i - 2] % 998244353 * 810ll % 998244353;
      ans += jc[n - i - 1] * 180ll % 998244353;
    }
    printf("%lld ", ans % 998244353);
  }
}
