#include <bits/stdc++.h>
using namespace std;
const int mod = 998244353;
const int N = 200005;
int p10[N], n;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  if (fopen(".inp", "r")) freopen(".inp", "r", stdin);
  cin >> n;
  p10[0] = 1;
  for (int i = 1; i <= n; ++i) p10[i] = (1ll * p10[i - 1] * 10) % mod;
  for (int i = 1; i < n; ++i) {
    long long ans = (0ll + 1ll * 2 * 10 * 9 * p10[n - i - 1] % mod);
    if (i + 2 <= n) {
      int x = n - i - 1;
      ans = (0ll + ans + 1ll * 10 * 9 * 9 * p10[n - i - 2] * x) % mod;
    }
    cout << ans << ' ';
  }
  cout << 10 << ' ';
  return 0;
}
