#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
const ll mod = ll(1e9) + 7;
const int INF = int(1e9);
int main() {
  int K;
  cin >> K;
  string suf = "";
  while (1) {
    for (int i = 0; i < (int)(9); i++) {
      cout << to_string(i + 1) + suf << endl;
      K--;
      if (K == 0) {
        return 0;
      }
    }
    suf.push_back('9');
  }
  return 0;
}
