#include <bits/stdc++.h>
using std::cin;
using std::cout;
using std::endl;
int main() {
  int K;
  cin >> K;
  unsigned long n = 0;
  unsigned long unit = 1;
  for (int i = 0; i < K; i++) {
    n += unit;
    if (unit * 10 <= n) {
      n += unit * 9;
      unit *= 10;
    }
    cout << n << endl;
  }
  return 0;
}
