#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e6 + 10;
const int mod = 998244353;
int n;
long long a[maxn];
int main() {
  cin >> n;
  a[1] = 10;
  a[2] = 180;
  a[3] = 2610;
  for (int i = 4; i <= n; i++)
    a[i] = (20 * a[i - 1] % mod - 100 * a[i - 2] % mod + mod) % mod;
  for (int i = n; i >= 1; i--) cout << a[i] % mod << ' ';
  return 0;
}
