#include <bits/stdc++.h>
using namespace std;
long long pow10(long long exp) {
  long long val = 1;
  for (size_t i = 0; i < exp; i++) {
    val *= 10;
  }
  return val;
}
int main() {
  long long K;
  cin >> K;
  long long exp = 0, base = 2;
  for (size_t i = 0; i < K; i++) {
    if (i != 0 && i % 9 == 0) {
      exp++;
      base = 2;
    }
    if (i < 9) {
      cout << i + 1 << endl;
    } else {
      cout << pow10(exp) * base - 1 << endl;
      base++;
    }
  }
  return 0;
}
