#include <bits/stdc++.h>
using namespace std;
int main() {
  int i = 10;
  int j;
  int k;
  int max = 1;
  double tmp;
  int count = 0;
  cin >> k;
  long long int v[10000];
  for (j = 0; j < 10; j++) {
    v[j] = j;
  }
  while (i <= 150) {
    v[i] = v[i - 9] * 10 + 9;
    i++;
  }
  i = 1;
  while (count != k) {
    tmp = v[i] / i;
    if (max <= tmp) {
      count++;
      cout << v[i] << endl;
      max = tmp;
    }
    i++;
  }
}
