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