#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  long long M = 998244353;
  vector<long long> p10(n + 1, 0);
  p10[0] = 1;
  for (int i = 1; i <= n; i++) p10[i] = (p10[i - 1] % M * 10) % M;
  long long ans = 0;
  for (int i = 1; i < n; i++) {
    ans = 0;
    if (i < n - 1) {
      ans = (ans % M + (((n - i - 1) * 81) % M * p10[n - i - 1] % M) % M) % M;
    }
    ans = (ans % M + (180 * p10[n - i - 1] % M) % M) % M;
    cout << ans << " ";
  }
  cout << 10 << endl;
}
