#include <bits/stdc++.h>
using namespace std;
int k;
long long now = 0;
int main() {
  cin >> k;
  while (k) {
    while (k && now < 9) {
      k--;
      now++;
      printf("%lld\n", now);
    }
    while (k && now < 99) {
      k--;
      now += 10;
      printf("%lld\n", now);
    }
    while (k && now < 999) {
      k--;
      now += 100;
      printf("%lld\n", now);
    }
    while (k && now < 9999) {
      k--;
      now += 1000;
      printf("%lld\n", now);
    }
    while (k && now < 99999) {
      k--;
      now += 10000;
      printf("%lld\n", now);
    }
    while (k && now < 999999) {
      k--;
      now += 100000;
      printf("%lld\n", now);
    }
    while (k && now < 9999999) {
      k--;
      now += 1000000;
      printf("%lld\n", now);
    }
    while (k && now < 99999999) {
      k--;
      now += 10000000;
      printf("%lld\n", now);
    }
    while (k && now < 999999999) {
      k--;
      now += 100000000;
      printf("%lld\n", now);
    }
    while (k && now < 9999999999) {
      k--;
      now += 1000000000;
      printf("%lld\n", now);
    }
    while (k && now < 99999999999) {
      k--;
      now += 10000000000;
      printf("%lld\n", now);
    }
    while (k && now < 999999999999) {
      k--;
      now += 100000000000;
      printf("%lld\n", now);
    }
    while (k && now < 9999999999999) {
      k--;
      now += 1000000000000;
      printf("%lld\n", now);
    }
    while (k && now < 99999999999999) {
      k--;
      now += 10000000000000;
      printf("%lld\n", now);
    }
    while (k && now < 999999999999999) {
      k--;
      now += 100000000000000;
      printf("%lld\n", now);
    }
    while (k && now < 9999999999999999) {
      k--;
      now += 1000000000000000;
      printf("%lld\n", now);
    }
  }
  return 0;
}
