#include <bits/stdc++.h>
using namespace std;
int main() {
  unsigned long long K;
  cin >> K;
  auto count = 0;
  string str = "";
  while (count < K) {
    for (auto i = 1; i <= 9; ++i) {
      cout << i << str << endl;
      ++count;
      if (count >= K) {
        break;
      }
    }
    str += '9';
  }
  return 0;
}
