#include <bits/stdc++.h>
using namespace std;
int sn(int n) {
  long long int m;
  m = n;
  int a = 0;
  long long int d = 0;
  long long int b = 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10;
  int c = 0;
  for (int i = 0; i < 10; i++) {
    a += n % b;
    c += n / b;
    d = n / b;
    n -= d * b;
    b /= 10;
  }
  return c;
}
int main(void) {
  long long k;
  cin >> k;
  int i = 1;
  if (k < 10) {
    while (i != k) {
      cout << i;
      i++;
    }
  } else {
    while (i != 10) {
      cout << i << endl;
      i++;
    }
    i -= 1;
    int ss = 10;
    while (k - 9 != 0) {
      double qq = sn(i + ss);
      double qqq = sn(i + ss + ss);
      if ((i + ss) / qq < (i + ss + ss) / qqq) {
        if (k - 9 > 8) {
          for (int j = 0; j < 9; j++) {
            i += ss;
            cout << i << endl;
            k--;
          }
        } else {
          while (k - 9 != 0) {
            i += ss;
            cout << i << endl;
            k--;
          }
        }
      } else {
        ss *= 10;
      }
    }
  }
}
