#include <bits/stdc++.h>
using namespace std;
long long digits(long long n) {
  int mon = 0;
  while (n) {
    mon += n % 10;
    n /= 10;
  }
}
int main() {
  int n;
  cin >> n;
  long long a = 0, b = 1;
  for (int i = 0; i < n; ++i) {
    if ((a + b) * digits(a + b * 10) > (a + b * 10) * digits(a + b)) b *= 10;
    a += b;
    cout << a << endl;
  }
}
