#include <bits/stdc++.h>
using namespace std;
void fsscan() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
}
void scani(int &x) {
  register int c = getchar();
  x = 0;
  int neg = 0;
  for (; ((c < 48 || c > 57) && c != '-'); c = getchar())
    ;
  if (c == '-') {
    neg = 1;
    c = getchar();
  }
  for (; c > 47 && c < 58; c = getchar()) {
    x = (x << 1) + (x << 3) + c - 48;
  }
  if (neg) x = -x;
}
int sumd(int n) {
  int c = 0;
  while (n) {
    c += n % 10;
    n = n / 10;
  }
  return c;
}
int main() {
  fsscan();
  long long int k;
  cin >> k;
  long long int res = 9;
  long long int fact;
  long long int m = 10;
  long long int p = 1;
  for (long long int i = 1; i <= k; i++) {
    if (i <= 9)
      cout << i << endl;
    else if (i == m) {
      fact = pow(10, p);
      res += fact;
      cout << res << endl;
      p++;
      m += 9;
    } else {
      res += fact;
      cout << res << endl;
    }
  }
  return 0;
}
