#include <bits/stdc++.h>
using namespace std;
const long long INF = 2e9;
const long long MB = 20;
const long long MOD = 998244353;
void solve() {
  long long n;
  cin >> n;
  vector<long long> pw(n + 1);
  pw[0] = 1;
  for (long long i = 1; i <= n; i++) {
    pw[i] = pw[i - 1] * 10 % MOD;
  }
  for (long long len = 1; len < n; len++) {
    long long one =
        n - len >= 2 ? 810 * pw[n - len - 2] * (n - len - 1) % MOD : 0;
    long long two = 180 * pw[n - len - 1] % MOD;
    cout << (one + two) % MOD << " ";
  }
  cout << 10;
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  cout.precision(12);
  cout << fixed;
  solve();
}
