#include <bits/stdc++.h>
using namespace std;
long double eps = 1e-8;
long long mod = 1e9 + 7;
long long inf = 1LL << 55;
priority_queue<pair<long long, long long>, vector<pair<long long, long long> >,
               greater<pair<long long, long long> > >
    pq;
template <typename T>
long long Count(const vector<T> &v, T l, T r) {
  auto L = lower_bound(v.begin(), v.end(), l);
  auto R = upper_bound(v.begin(), v.end(), r);
  return R - L;
}
long double cal(long long a) {
  long long b = a, c = 0;
  while (b) c += b % 10, b /= 10;
  return 1.0 * a / c;
}
signed main() {
  long long k;
  cin >> k;
  for (long long i = 1; i <= min(k, 9LL); i++) cout << i << endl;
  k -= 9;
  long long a = 19;
  for (long long i = 1; i <= min(k, 9LL); i++) cout << a << endl, a += 10;
  k -= 9;
  string s = "999";
  for (long long i = 1; i <= k; i++) cout << s << endl, s += '9';
  return 0;
}
