#include <bits/stdc++.h>
using namespace std;
int mod = 998244353;
long long ten[200010];
int main() {
  int n;
  cin >> n;
  ten[0] = 1;
  for (int i = 1; i <= n; i++) ten[i] = ten[i - 1] * 10 % mod;
  for (int i = 1; i < n; i++) {
    long long ans = 0;
    ans += 1ll * 2 * 10 * 9 * ten[n - i - 1] % mod;
    ans += 1ll * (n - i - 1) * 10 * 9 * 9 * ten[n - i - 2] % mod;
    cout << ans % mod << endl;
  }
  cout << 10 << endl;
  return 0;
}
