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