#include <bits/stdc++.h>
using namespace std;
double a(int b) {
  int c = 0, d = b;
  while (d) {
    c += d % 10;
    d /= 10;
  }
  return 1.0 * b / c;
}
int main() {
  long long k, x = 1, y = 0;
  cin >> k;
  for (long long i = 0; i < k; i++) {
    if (a(x + y) > a(10 * x + y)) x *= 10;
    y += x;
    cout << y << endl;
  }
  return 0;
}
