#include <bits/stdc++.h>
using namespace std;
double f(long long N) {
  long long n, dig;
  n = N;
  long long sum = 0;
  while (n) {
    dig = n % 10;
    sum = sum + dig;
    n = n / 10;
  }
  return (double)N / sum;
}
int main() {
  long long K;
  cin >> K;
  long long a = 1, order = 1;
  for (int i = 0; i < K; i++) {
    if (K > 300) {
      cout << "sb" << endl;
    }
    cout << (long long)a << endl;
    if (f(a + pow(10, order - 1)) > f(a + pow(10.0, order * 1.0))) {
      order++;
    }
    a += pow(10.0, order - 1 * 1.0);
  }
  return 0;
}
