#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int i, j, k, l, m, flag;
  long long int sum = 0;
  flag = 0;
  long long int N, M, K;
  long long int ans[1000000];
  for (i = 1; i < 10; i++) {
    ans[sum] = i;
    sum++;
  }
  for (i = 19; i < 100; i += 10) {
    ans[sum] = i;
    sum++;
  }
  for (i = 199; i < 2000; i += 100) {
    ans[sum] = i;
    sum++;
  }
  for (i = 2999; i < 30000; i += 1000) {
    ans[sum] = i;
    sum++;
  }
  for (i = 39999; i < 400000; i += 10000) {
    ans[sum] = i;
    sum++;
  }
  for (i = 409999; i < 5000000; i += 100000) {
    ans[sum] = i;
    sum++;
  }
  for (i = 5099999; i < 60000000; i += 1000000) {
    ans[sum] = i;
    sum++;
  }
  for (i = 60999999; i < 700000000; i += 10000000) {
    ans[sum] = i;
    sum++;
  }
  for (i = 709999999; i < 8000000000; i += 100000000) {
    ans[sum] = i;
    sum++;
  }
  for (i = 8099999999; i < 90000000000; i += 1000000000) {
    ans[sum] = i;
    sum++;
  }
  for (i = 90999999999; i < 1000000000000000; i += 10000000000) {
    ans[sum] = i;
    sum++;
  }
  cin >> K;
  for (i = 0; i < K; i++) {
    cout << ans[i] << endl;
  }
  return 0;
}
