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