#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k;
  cin >> k;
  queue<long long> que;
  for (long long i = 1; i < 10; i++) {
    que.push(i);
  }
  for (long long i = 0; i < k; i++) {
    cout << que.front() << endl;
    long long now = que.front();
    que.pop();
    que.push(now * 10 + 9);
  }
  return 0;
}
