#include <bits/stdc++.h>
using namespace std;
void solve();
using ll = long long;
using vl = vector<ll>;
using vi = vector<int>;
using vvi = vector<vector<int> >;
constexpr int inf = 1001001001;
constexpr ll infLL = (1LL << 61) - 1;
struct IoSetupNya {
  IoSetupNya() {
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    cout << fixed << setprecision(15);
    cerr << fixed << setprecision(7);
  }
} iosetupnya;
template <typename T, typename U>
inline bool amin(T &x, U y) {
  return (y < x) ? (x = y, true) : false;
}
template <typename T, typename U>
inline bool amax(T &x, U y) {
  return (x < y) ? (x = y, true) : false;
}
template <typename T, typename U>
ostream &operator<<(ostream &os, const pair<T, U> &p) {
  os << p.first << " " << p.second;
  return os;
}
template <typename T, typename U>
istream &operator>>(istream &is, pair<T, U> &p) {
  is >> p.first >> p.second;
  return is;
}
template <typename T>
ostream &operator<<(ostream &os, const vector<T> &v) {
  int s = (int)v.size();
  for (int i = 0; i < (s); i++) os << (i ? " " : "") << v[i];
  return os;
}
template <typename T>
istream &operator>>(istream &is, vector<T> &v) {
  for (auto &x : v) is >> x;
  return is;
}
void in() {}
template <typename T, class... U>
void in(T &t, U &...u) {
  cin >> t;
  in(u...);
}
void out() { cout << "\n"; }
template <typename T, class... U>
void out(const T &t, const U &...u) {
  cout << t;
  if (sizeof...(u)) cout << " ";
  out(u...);
}
template <typename T>
void die(T x) {
  out(x);
  exit(0);
}
int main() { solve(); }
using P = pair<ll, ll>;
using vp = vector<P>;
constexpr int MOD = 1000000007;
vl v = {
    999999999, 899999999, 799999999, 699999999, 689999999, 679999999, 669999999,
    659999999, 649999999, 639999999, 629999999, 619999999, 609999999, 599999999,
    589999999, 579999999, 569999999, 559999999, 549999999, 539999999, 529999999,
    519999999, 509999999, 499999999, 489999999, 479999999, 469999999, 459999999,
    449999999, 439999999, 429999999, 419999999, 409999999, 399999999, 389999999,
    379999999, 369999999, 359999999, 349999999, 339999999, 329999999, 319999999,
    309999999, 299999999, 289999999, 279999999, 269999999, 259999999, 249999999,
    239999999, 229999999, 219999999, 209999999, 199999999, 189999999, 179999999,
    169999999, 159999999, 149999999, 139999999, 129999999, 119999999, 109999999,
    99999999,  89999999,  79999999,  69999999,  59999999,  58999999,  57999999,
    56999999,  55999999,  54999999,  53999999,  52999999,  51999999,  50999999,
    49999999,  48999999,  47999999,  46999999,  45999999,  44999999,  43999999,
    42999999,  41999999,  40999999,  39999999,  38999999,  37999999,  36999999,
    35999999,  34999999,  33999999,  32999999,  31999999,  30999999,  29999999,
    28999999,  27999999,  26999999,  25999999,  24999999,  23999999,  22999999,
    21999999,  20999999,  19999999,  18999999,  17999999,  16999999,  15999999,
    14999999,  13999999,  12999999,  11999999,  10999999,  9999999,   8999999,
    7999999,   6999999,   5999999,   4999999,   4899999,   4799999,   4699999,
    4599999,   4499999,   4399999,   4299999,   4199999,   4099999,   3999999,
    3899999,   3799999,   3699999,   3599999,   3499999,   3399999,   3299999,
    3199999,   3099999,   2999999,   2899999,   2799999,   2699999,   2599999,
    2499999,   2399999,   2299999,   2199999,   2099999,   1999999,   1899999,
    1799999,   1699999,   1599999,   1499999,   1399999,   1299999,   1199999,
    1099999,   999999,    899999,    799999,    699999,    599999,    499999,
    399999,    389999,    379999,    369999,    359999,    349999,    339999,
    329999,    319999,    309999,    299999,    289999,    279999,    269999,
    259999,    249999,    239999,    229999,    219999,    209999,    199999,
    189999,    179999,    169999,    159999,    149999,    139999,    129999,
    119999,    109999,    99999,     89999,     79999,     69999,     59999,
    49999,     39999,     29999,     28999,     27999,     26999,     25999,
    24999,     23999,     22999,     21999,     20999,     19999,     18999,
    17999,     16999,     15999,     14999,     13999,     12999,     11999,
    10999,     9999,      8999,      7999,      6999,      5999,      4999,
    3999,      2999,      1999,      1899,      1799,      1699,      1599,
    1499,      1399,      1299,      1199,      1099,      999,       899,
    799,       699,       599,       499,       399,       299,       199,
    99,        89,        79,        69,        59,        49,        39,
    29,        19,        9,         8,         7,         6,         5,
    4,         3,         2,         1};
void solve() {
  vi snuke;
  auto s = [&](ll n) -> int {
    int ret = 0;
    while (n) {
      ret += n % 10;
      n /= 10;
    }
    return ret;
  };
  auto f = [&](ll n) -> double { return 1.0 * n / s(n); };
  reverse((v).begin(), (v).end());
  ll K;
  in(K);
  if (K <= v.size()) {
    for (int i = 0; i < (K); i++) out(v[i]);
  } else
    exit(1);
}
