#include <bits/stdc++.h>
using namespace std;
long long pow_ll(int N, int K) {
  if (K == 0) return 1;
  long long r = N;
  for (int i = 0; i < K - 1; i++) r *= N;
  return r;
}
int main() {
  int K;
  long long snuke_num = 1;
  cin >> K;
  int d = 0;
  for (int i = 0; i < K; i++) {
    cout << snuke_num << endl;
    if (snuke_num % pow_ll(10, d + 1) == pow_ll(10, d + 1) - 1) {
      d++;
    }
    snuke_num += pow_ll(10, d);
  }
  return 0;
}
