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