#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k;
  cin >> k;
  string s, curr = "9";
  vector<int> a = {9, 1, 2, 3, 4, 5, 6, 7, 8};
  long long j = 1, ind = 9, in = 1;
  for (int i = 1; i <= k; i++) {
    if (i <= 9) {
      cout << i << endl;
    } else {
      s = to_string(j) + curr;
      if (j == ind) {
        ind += 10;
        j = in;
        in++;
        curr += "9";
      } else
        j++;
      cout << s << endl;
    }
  }
  return 0;
}
