#include <bits/stdc++.h>
using namespace std;
template <typename T1, typename T2>
inline void chmin(T1 &a, T2 b) {
  if (a > b) a = b;
}
template <typename T1, typename T2>
inline void chmax(T1 &a, T2 b) {
  if (a < b) a = b;
}
signed main() {
  ios::sync_with_stdio(false);
  std::cin.tie(nullptr);
  long long k;
  cin >> k;
  long long s = 0;
  long long keta = 0;
  long long idx = 1;
  while (k) {
    long long ans = idx * powl(10, keta) + s;
    cout << ans << endl;
    idx++;
    k--;
    if (idx == 10) {
      idx = 1;
      keta++;
      s = s * 10LL + 9LL;
    }
  }
}
