#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
template <typename T>
T &chmin(T &a, const T &b) {
  return a = min(a, b);
}
template <typename T>
T &chmax(T &a, const T &b) {
  return a = max(a, b);
}
int main() {
  vector<ll> res;
  ll ten = 1;
  for (int i = 0; i < 16; ++i) {
    for (int j = 1; j <= 9; ++j) {
      res.push_back((j + 1) * ten - 1);
    }
    ten *= 10;
  }
  int K;
  cin >> K;
  for (int i = 0; i < (int)(K); i++) cout << res[i] << endl;
  return 0;
}
