#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n;
  cin >> n;
  vector<long long int> a(n + 1);
  a[0] = 1, a[1] = 18, a[2] = 261;
  for (int i = 3; i < n; i++) {
    a[i] = (20 * a[i - 1] - 100 * a[i - 2]) % 998244353;
    if (a[i] < 0) a[i] += 998244353;
  }
  for (int i = n - 1; i >= 0; i--) cout << (a[i] * 10) % 998244353 << " ";
  return 0;
}
