#include <bits/stdc++.h>
using namespace std;
inline int toInt(string s) {
  int v;
  istringstream sin(s);
  sin >> v;
  return v;
}
template <class T>
inline string toString(T x) {
  ostringstream sout;
  sout << x;
  return sout.str();
}
template <class T>
inline T sqr(T x) {
  return x * x;
}
const double EPS = 1e-10;
const double PI = acos(-1.0);
int main() {
  int K;
  cin >> K;
  long long now = 1;
  if (K < 10) {
    for (int i = (0); i < (K); ++i) cout << i + 1 << endl;
  }
  for (int i = (0); i < (9); ++i) cout << i + 1 << endl;
  K -= 9;
  for (int i = (0); i < (K); ++i) {
    cout << now * 10 + 9 << endl;
    now = now * 10 + 9;
  }
  return 0;
}
