#include <bits/stdc++.h>
using namespace std;
int fl(int n) {
  int sum = 0;
  while (n != 0) {
    sum = sum + n % 10;
    n /= 10;
  }
  return sum;
}
int main() {
  ios::sync_with_stdio(false);
  int i, j, k, count;
  long long x = 1, n = 1;
  cin >> k;
  cout << 1 << endl;
  for (i = 1; i < k; i++) {
    if ((i - count) % 9 == 0) {
      if (x + n > n * fl(x + n)) {
        n *= 10;
        count = 0;
      } else
        count++;
    }
    x = x + n;
    cout << x << endl;
  }
  return 0;
}
