#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int power[200009], n;
  power[0] = 1;
  for (int i = 1; i < 200009; i++) power[i] = (power[i - 1] * 10) % 998244353;
  cin >> n;
  vector<long long int> v;
  for (int i = n; i >= 1; i--) {
    if (i == n)
      v.push_back(10);
    else if (i == n - 1)
      v.push_back(180);
    else {
      long long int ans = power[n - 2 - i];
      ans *= 810, ans %= 998244353, ans *= (n - 1 - i), ans %= 998244353;
      ans += 180 * power[n - 1 - i], ans %= 998244353;
      v.push_back(ans);
    }
  }
  for (int i = v.size() - 1; i >= 0; i--) cout << v[i] << " ";
  return 0;
}
