#include <bits/stdc++.h>
using namespace std;
using i64 = long long;
using u64 = unsigned long long;
const int MOD = 998244353;
void __print() { cerr << "]\n"; }
template <typename T, typename... V>
void __print(T t, V... v) {
  cerr << t;
  if (sizeof...(v)) cerr << ", ";
  __print(v...);
}
i64 ten_pow[300000];
;
int main() {
  i64 p = 1;
  for (int i = 0; i <= 200000; i++) {
    ten_pow[i] = p;
    p *= 10;
    p %= MOD;
  }
  int n;
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) {
    i64 ans = 0;
    int r = n - i - 1;
    if (r < 0) {
      printf("10 ");
      continue;
    }
    ans += 10 * 9 * ten_pow[r];
    ans += ans;
    ans %= MOD;
    r = n - i - 2;
    if (r < 0) {
      printf("%lld ", ans);
      continue;
    }
    ans += 10 * 9 * 9 * ten_pow[r] * (r + 1);
    ;
    ans %= MOD;
    printf("%lld ", ans);
  }
  puts("");
}
