#include <bits/stdc++.h>
using namespace std;
long long digitsum(long long k) {
  long long sum = 0;
  while (k > 0) {
    sum += k % 10;
    k /= 10;
  }
  return sum;
}
int cntdigit(long long k) {
  int cnt = 0;
  while (k > 0) {
    cnt++;
    k /= 10;
  }
  return cnt;
}
int main() {
  long long k;
  cin >> k;
  long long addi = 1;
  long long now = 1;
  for (int i = 1; i < k + 1; i++) {
    cout << now << endl;
    now += addi;
    if (cntdigit(now) > cntdigit(addi)) {
      addi *= 10;
    }
  }
  return 0;
}
