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