#include <bits/stdc++.h>
using namespace std;
unsigned long long int p(int x, int y) {
  unsigned long long int ans = 1;
  for (int i = 0; i < y; i++) {
    ans *= x;
  }
  return ans;
}
int main() {
  int K;
  cin >> K;
  vector<unsigned long long int> list;
  for (int i = 1; i < 9; i++) {
    list.push_back(i);
  }
  int log10 = 1;
  for (int i = 1;; i++) {
    if (i == 10) {
      log10++;
      i = 0;
      continue;
    }
    list.push_back(p(10, log10) * i - 1);
    if (list.size() > K) break;
  }
  for (int i = 0; i < K; i++) {
    cout << list[i] << endl;
  }
  return 0;
}
