#include <bits/stdc++.h>
using namespace std;
double func(long long n) {
  long long n_tmp = n;
  double div = 0;
  while (n_tmp > 0) {
    div += (n_tmp % 10);
    n_tmp /= 10;
  }
  return (n / div);
}
int main() {
  long long K;
  cin >> K;
  long long cnt = 0;
  string nine;
  while (true) {
    for (long long i = 1; i <= 9; i++) {
      cnt++;
      cout << i << nine << endl;
      if (cnt == K) return 0;
    }
    nine.push_back('9');
  }
}
