#include <bits/stdc++.h>
using namespace std;
long long snuke[10000000];
long long S(long long n) {
  long long sum = 0;
  while (n > 0) {
    sum += n % 10;
    n /= 10;
  }
  return sum;
}
void ans(long long k) {
  for (int i = 1; i < 10; i++) snuke[i - 1] = i;
  for (int i = 1; i < 10; i++) snuke[i + 8] = 10 * i + 9;
  snuke[18] = 199;
  int p = 19;
  for (int i = 4; i < 18; i++) {
    for (int j = 0; j < 10; j++) {
      snuke[p] = powl(10, i - 1) + (j + 1) * powl(10, i - 2) - 1;
      p++;
    }
    for (int j = 2; j < 10; j++) {
      snuke[p] = j * powl(10, i - 1) + powl(10, i - 1) - 1;
      p++;
    }
  }
  for (int i = 0; i < k; i++) cout << snuke[i] << endl;
}
int main(void) {
  int k;
  cin >> k;
  ans(k);
}
