#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using Graph = vector<vector<int>>;
int main() {
  ll K;
  cin >> K;
  ll res = 1;
  for (ll i = 0; i < K; i++) {
    if (i < 9) {
      cout << i + 1 << endl;
    } else {
      if (i % 9 == 0) {
        res *= 10;
      }
      cout << (i % 9 + 2) * res - 1 << endl;
    }
  }
}
