#include <bits/stdc++.h>
using namespace std;
int maxO(long long n);
int maxR(long long n);
long long ten(int n);
int main() {
  long long K;
  cin >> K;
  cout << 1 << endl;
  long long x = 1;
  for (int i = 0; i < K - 1; ++i) {
    if (maxR(x) != 9) {
      x += ten(maxO(x));
    } else {
      x += ten(maxO(x) + 1);
    }
    cout << x << endl;
  }
  return 0;
}
int maxO(long long n) {
  long long m = n;
  int r = 0;
  for (;;) {
    if (m / 10 == 0) {
      break;
    }
    m = m / 10;
    r++;
  }
  return r;
}
long long ten(int n) {
  if (n == 0) {
    return 1;
  }
  long long r = 1;
  for (int i = 0; i < n; ++i) {
    r *= 10;
  }
  return r;
}
int maxR(long long n) {
  long long m = n;
  int r = 0;
  for (;;) {
    if (m / 10 == 0) {
      break;
    }
    m = m / 10;
    r++;
  }
  return m;
}
