#include <bits/stdc++.h>
using namespace std;
double SCALE = 1.0;
double OFFSET_X = 0.0;
double OFFSET_Y = 0.0;
const int IINF = 1 << 28;
const int MOD = 1e9 + 7;
const double INF = 1e30;
const double EPS = 1e-10;
const double PI = acos(-1.0);
const int dx[] = {-1, 0, 1, 0};
const int dy[] = {0, -1, 0, 1};
long long calc(long long n) {
  long long ans = 0;
  while (n > 0) {
    ans += n % 10;
    n /= 10;
  }
  return ans;
}
int main() {
  long long k;
  cin >> k;
  int digit = 0, cnt = 0;
  long long c = 1, d = 0;
  [&]() {
    while (1) {
      for (int i = 1; i < 10; ++i) {
        cout << i * c + d << endl;
        ++cnt;
        if (cnt == k) {
          return;
        }
      }
      d += 9 * c;
      c *= 10;
    }
  }();
}
