#include <bits/stdc++.h>
using namespace std;
const long long INF = 0x3f3f3f3f;
const long long MOD = 998244353ll;
const double PI = acos(-1.0);
long long qPow(long long a, long long b) {
  long long res = 1;
  while (b) {
    if (b & 1) {
      res = res * a % MOD;
    }
    a = a * a % MOD;
    b = b / 2;
  }
  return res;
}
int main() {
  ios::sync_with_stdio(false);
  long long n;
  cin >> n;
  if (n == 1) {
    cout << 10 << endl;
    return 0;
  } else if (n == 2) {
    cout << "180 10" << endl;
    return 0;
  }
  long long ans = 0;
  for (long long i = 1; i <= n; ++i) {
    long long tmp1;
    if (n == i) {
      tmp1 = 10;
    } else {
      tmp1 = qPow(10, n - i - 1) * 9 * 2 * 10 % MOD;
    }
    long long tmp2;
    if (i <= n - 2) {
      tmp2 = qPow(10, n - i - 2) * 9 * 9 * 10 % MOD;
      tmp2 = tmp2 * (n - i - 1) % MOD;
    } else {
      tmp2 = 0;
    }
    cout << (tmp1 + tmp2) % MOD << " ";
  }
}
