#include <bits/stdc++.h>
using namespace std;
int main(int argc, char *argv[]) {
  int i, j;
  int deg;
  int ind;
  int K;
  int ans = 1;
  cin >> K;
  for (j = 1; j <= K; j++) {
    deg = j / 9 + 1;
    ind = 10 - j % 9 - 1;
    for (i = 0; i < deg; i++) {
      ans *= 10;
    }
    ans -= ind * (ans / 10);
    ans -= 1;
    cout << ans << "\n";
    ans = 1;
  }
  return 0;
}
