#include <bits/stdc++.h>
using namespace std;
template <typename T, typename S>
ostream &operator<<(ostream &os, const pair<T, S> &v) {
  os << "(";
  os << v.first << "," << v.second << ")";
  return os;
}
template <typename T>
ostream &operator<<(ostream &os, const vector<T> &v) {
  os << "[";
  long long sz = v.size();
  for (long long i = 0; i < sz; ++i) {
    os << v[i];
    if (i != sz - 1) os << ",";
  }
  os << "]\n";
  return os;
}
template <typename T>
ostream &operator<<(ostream &os, const set<T> &v) {
  T last = *v.rbegin();
  os << "[";
  for (auto it : v) {
    os << it;
    if (it != last) os << ",";
  }
  os << "]\n";
  return os;
}
template <typename T, typename S>
ostream &operator<<(ostream &os, const map<T, S> &v) {
  for (auto it : v) {
    os << it.first << " : " << it.second << "\n";
  }
  return os;
}
long long power(long long a, long long b) {
  long long res = 1;
  while (b) {
    if (b % 2) {
      res = (res * a) % 1000000007;
    }
    b /= 2;
    a = (a * a) % 1000000007;
  }
  return res;
}
long long fact(long long k) {
  if (k == 1 || k == 2) return k;
  long long a = 1, b = 1;
  while (a <= k) {
    b = ((b % 1000000007) * (a % 1000000007)) % 1000000007;
    a++;
  }
  return b;
}
uint64_t toint(const string &s) {
  istringstream src(s);
  uint64_t v;
  src >> v;
  return v;
}
string tostring(uint64_t v) {
  ostringstream src;
  src << v;
  return src.str();
}
const long long N = 2e5 + 5;
long long n, k, ctr;
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cin >> k;
  for (long long i = 1; ctr < k; i += 9) {
    while (ctr < k and i % 10 != 0) {
      cout << i++ << "\n";
      ctr++;
    }
  }
  return 0;
}
