#include <bits/stdc++.h>
using namespace std;
double nuke(long long x) {
  long long s = 0;
  long long a = x;
  while (a) {
    s += a % 10;
    a /= 10;
  }
  return (double)x / (double)s;
}
int main() {
  long long k;
  cin >> k;
  vector<long long> v = {1,  2,  3,  4,  5,  6,  7,  8, 9,
                         19, 29, 39, 49, 59, 69, 79, 89};
  long long x = 99;
  double prev = nuke(99);
  while (v.size() < k) {
    double next = nuke(x + 10);
    if (prev < next) {
      v.push_back(x);
    }
    x += 10;
    prev = next;
  }
  for (int i = 0; i < k; i++) {
    cout << v[i] << endl;
  }
  return 0;
}
