#include <bits/stdc++.h>
using namespace std;
int64_t K;
int main() {
  cin >> K;
  string num9 = "";
  int64_t i = 0;
  while (i < K) {
    for (int j = 1; j <= 9; j++) {
      cout << j << num9 << endl;
      i++;
      if (K <= i) break;
    }
    num9 += "9";
  }
}
