#include <bits/stdc++.h>
using namespace std;
const int inf = 1e9;
const long long int linf = 1LL << 50;
const double EPS = 1e-10;
int main(int argc, char const* argv[]) {
  long long int k;
  cin >> k;
  string s = "";
  int curr = 1;
  while (k) {
    if (curr == 10) {
      curr = 1;
      s += "9";
    }
    cout << curr << s << endl;
    k--;
    curr++;
  }
  return 0;
}
