#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long k;
  cin >> k;
  if (k <= 9) {
    for (int i = 1; i <= k; i++) {
      cout << i << endl;
    }
    return 0;
  }
  for (int i = 1; i <= 9; i++) {
    cout << i << endl;
  }
  k = k - 9;
  if (k <= 9) {
    for (int i = 19; i <= 19 + 10 * (k - 1); i = i + 10) {
      cout << i << endl;
    }
    return 0;
  }
  for (int i = 19; i <= 99; i = i + 10) {
    cout << i << endl;
  }
  k = k - 9;
  long long a = 99;
  long long t = 19, s = t;
  long long b = 100;
  while (true) {
    if (k <= 0) {
      return 0;
    }
    k--;
    a = a + b;
    cout << a << endl;
    t--;
    if (t <= 0) {
      t = s + 9;
      s = s + 9;
      b = b * 10;
    }
  }
}
