#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long st = 1, mod = 998244353;
  int n;
  cin >> n;
  vector<long long> ans(n + 1);
  ans[n] = 10;
  ans[n - 1] = 20;
  for (int i = n - 2; i >= 1; i--) {
    ans[i] = ans[i + 1] + 9;
  }
  for (int i = n - 1; i >= 1; i--) {
    ans[i] = ((ans[i] * 9) % mod * st) % mod;
    st = (10 * st) % mod;
  }
  for (int i = 1; i <= n; i++) cout << ans[i] << " ";
  cout << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  solve();
  return 0;
}
