#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool chmax(T &a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmin(T &a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
vector<long long> snukes;
int main(void) {
  long long K;
  cin >> K;
  for (int i = 1; i <= 9; i++) {
    snukes.push_back(i);
  }
  long long base = 1;
  for (int i = 1; i <= 15; i++) {
    base *= 10;
    for (int j = 2; j <= 10; j++) {
      snukes.push_back(base * j - 1);
    }
  }
  assert(K <= (int)snukes.size());
  for (int i = 0; i < K; i++) {
    cout << snukes[i] << endl;
  }
  return 0;
}
