#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long long K, k = 0, i = 1, m = 1;
  cin >> K;
  while (k < K) {
    while (i < m * 9 && k < K) {
      cout << i << endl;
      k++;
      i += m;
    }
    m *= 10;
  }
}
