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