#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k;
  cin >> k;
  vector<long long> a;
  for (int i = 1; i < 10; i++) a.push_back(i);
  for (int i = 0; i < k; i++) {
    int j = i % 9;
    cout << a[j] << endl;
    if (j == 8) {
      for (int p = 0; p < 9; p++) {
        a[p] *= 10;
        a[p] += 9;
      }
    }
  }
}
