#include <bits/stdc++.h>
using ll = long long;
using ull = unsigned long long;
using uint = unsigned int;
using namespace std;
int main() {
  ull K;
  cin >> K;
  string suf("");
  for (auto i = 0; i < K; i++) {
    string s = (char)('1' + (i % 9)) + suf;
    cout << s << endl;
    if (i % 9 == 8) suf += "9";
  }
  return 0;
}
