#include <bits/stdc++.h>
int main() {
  unsigned long K;
  std::cin >> K;
  unsigned long n = 1;
  for (unsigned long k = 0; k < K; k++) {
    std::cout << n << std::endl;
    if (n + 1 < 10) {
      n += 1;
    } else if (n + 1 < 100) {
      n += 10;
    } else if (n + 1 < 1000) {
      n += 100;
    } else if (n + 1 < 10000) {
      n += 1000;
    } else if (n + 1 < 100000) {
      n += 10000;
    } else if (n + 1 < 1000000) {
      n += 100000;
    } else if (n + 1 < 10000000) {
      n += 1000000;
    } else if (n + 1 < 100000000) {
      n += 10000000;
    } else if (n + 1 < 1000000000) {
      n += 100000000;
    } else if (n + 1 < 10000000000) {
      n += 1000000000;
    } else if (n + 1 < 100000000000) {
      n += 10000000000;
    } else if (n + 1 < 1000000000000) {
      n += 100000000000;
    } else if (n + 1 < 10000000000000) {
      n += 1000000000000;
    } else if (n + 1 < 100000000000000) {
      n += 10000000000000;
    } else if (n + 1 < 1000000000000000) {
      n += 100000000000000;
    } else if (n + 1 < 10000000000000000) {
      n += 1000000000000000;
    } else if (n + 1 < 100000000000000000) {
      n += 10000000000000000;
    }
  }
  return 0;
}
