#include <bits/stdc++.h>
using namespace std;
long long wa(long long n) {
  long long m = n;
  long long ret = 0;
  while (m > 0) {
    ret += m % 10;
    m /= 10;
  }
  return ret;
}
int main() {
  long long k;
  cin >> k;
  long long cnt = 0;
  for (long long i = 0;; i++) {
    long long n = i / 2;
    long long s = pow(10, i);
    for (;;) {
      long long next = s + pow(10, n);
      if (wa(next) * s > wa(s) * next) {
        s = next;
        continue;
      }
      for (long long j = s; j < pow(10, i + 1); j += pow(10, n)) {
        cout << j << endl;
        cnt++;
        if (cnt == k) return 0;
      }
      break;
    }
  }
}
