#include <bits/stdc++.h>
using namespace std;
const int Mod = 998244353;
template <typename T>
inline bool chkmin(T &x, const T &y) {
  return x > y ? (x = y, 1) : 0;
}
template <typename T>
inline bool chkmax(T &x, const T &y) {
  return x < y ? (x = y, 1) : 0;
}
template <typename T>
inline T sq(const T &x) {
  return x * x;
}
template <typename T>
inline T add(T x, const T &y) {
  x += y;
  return x > Mod ? x - Mod : x;
}
template <typename T>
inline T sub(T x, const T &y) {
  x -= y;
  return x < 0 ? x + Mod : x;
}
template <typename T>
inline T mul(const T &x, const T &y) {
  return 1ll * x * y % Mod;
}
template <typename T>
inline T read(T &f) {
  f = 0;
  int x = 1;
  char c = getchar();
  while (!isdigit(c)) x = (c == '-' ? -1 : 1), c = getchar();
  while (isdigit(c)) (f *= 10) += c & 15, c = getchar();
  return f = x * f;
}
long long K;
int main() {
  read(K);
  if (K <= 9) {
    for (int i = (1), ___ = (K); i <= ___; ++i) cout << i << endl;
  } else {
    K -= 9;
    for (int i = (1), ___ = (9); i <= ___; ++i) cout << i << endl;
    for (long long i = 1; i <= K; i++) cout << i << '9' << endl;
  }
  return 0;
}
