#include <bits/stdc++.h>
using namespace std;
const long long mod = 998244353;
signed main() {
  cin.tie(0);
  std::ios_base::sync_with_stdio(0);
  long long n;
  cin >> n;
  long long cnt = 10;
  vector<long long> ans;
  ans.push_back(10);
  if (n < 2) {
    cout << 10;
    return 0;
  }
  ans.push_back(180);
  long long one_neigh = 1800, two_neighs = 810;
  for (long long ii = 2; ii < n; ++ii) {
    long long cnt = 1LL * one_neigh;
    cnt += 1LL * two_neighs * (ii - 1LL);
    one_neigh *= 10;
    two_neighs *= 10;
    two_neighs %= mod;
    one_neigh %= mod;
    cnt %= mod;
    ans.push_back(cnt);
  }
  for (long long ii = n - 1; ii >= 0; --ii) {
    cout << ans[ii] << " ";
  }
  return 0;
}
