#include <bits/stdc++.h>
#pragma GCC optimize("O3")
using namespace std;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
const long long INF = 1e9 + 7;
int main() {
  long long k;
  cin >> k;
  vector<long long> p(20);
  long long v = 1;
  for (long long i = 0; i < (20); i++) {
    p[i] = v;
    v *= 10;
  }
  vector<long long> ans;
  long long i = 0;
  while (i <= 16) {
    if (i == 0) {
      for (long long j = 1; j <= 8; j++) {
        ans.push_back(j);
      }
    } else {
      for (long long j = 1; j <= 9; j++) {
        ans.push_back(j * p[i] - 1);
      }
    }
    i++;
  }
  for (long long i = 0; i < (k); i++) {
    cout << ans[i] << endl;
  }
}
