#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using pii = pair<int, int>;
using vi = vector<int>;
const int mod = 1e9 + 7;
const long double pi = 3.141592653589793238462643383279502884197;
const long double eps = 1e-7;
int main() {
  int K;
  cin >> K;
  if (K < 10) {
    for (int i = 1; i <= K; ++i) {
      cout << i << endl;
    }
  } else {
    for (int i = 1; i <= 9; ++i) {
      cout << i << endl;
    }
    K -= 9;
    int buf = 9;
    int base = 1;
    int ndigits = 1;
    while (K != 0) {
      if (buf / (int)pow(10, ndigits - 1) == 9) {
        base *= 10;
        ++ndigits;
      }
      buf += base;
      cout << buf << endl;
      --K;
    }
  }
  return 0;
}
