#include <bits/stdc++.h>
using namespace std;
inline int to_int(string s) {
  int v;
  istringstream sin(s);
  sin >> v;
  return v;
}
template <class T>
inline string to_string(T x) {
  ostringstream sout;
  sout << x;
  return sout.str();
}
int main() {
  unsigned long long k;
  cin >> k;
  for (unsigned long long i = 0; i < k; i++) {
    string s(i / 9, '9');
    int p = i % 9 + 1;
    cout << p << s << endl;
  }
  return 0;
}
