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