#include <bits/stdc++.h>
using namespace std;
vector<string> val;
int main() {
  string arr[] = {"1", "2", "3", "4", "5", "6", "7", "8", "9"};
  for (int i = 0; i < 20; i++) {
    for (string& str : arr) {
      val.push_back(str);
      str += "9";
    }
  }
  int k;
  cin >> k;
  for (int i = 0; i < (k); i++) cout << val[i] << endl;
  return 0;
}
