#include <bits/stdc++.h>
using namespace std;
inline int toInt(string s) {
  int v;
  istringstream sin(s);
  sin >> v;
  return v;
}
inline int countChar(string s, char c) {
  int cnt, i;
  cnt = 0;
  for (int(i) = (0); (i) < (s.size()); (i)++) {
    if (s[i] == c) cnt++;
  }
  return cnt;
}
template <class T>
inline string toString(T x) {
  ostringstream sout;
  sout << x;
  return sout.str();
}
int main(void) {
  int k;
  cin >> k;
  int i;
  long long snuke = 1;
  for (int(i) = (0); (i) < (k); (i)++) {
    if (snuke < 9) {
      printf("%-16lld\n", snuke);
      snuke += 1;
    } else if (snuke < 99) {
      printf("%-16lld\n", snuke);
      snuke += 10;
    } else if (snuke < 999) {
      printf("%-16lld\n", snuke);
      snuke += 100;
    } else if (snuke < 9999) {
      printf("%-16lld\n", snuke);
      snuke += 1000;
    } else if (snuke < 99999) {
      printf("%-16lld\n", snuke);
      snuke += 10000;
    } else if (snuke < 999999) {
      printf("%-16lld\n", snuke);
      snuke += 100000;
    } else if (snuke < 9999999) {
      printf("%-16lld\n", snuke);
      snuke += 1000000;
    } else if (snuke < 99999999) {
      printf("%-16lld\n", snuke);
      snuke += 10000000;
    } else if (snuke < 999999999) {
      printf("%-16lld\n", snuke);
      snuke += 100000000;
    } else if (snuke < 9999999999) {
      printf("%-16lld\n", snuke);
      snuke += 1000000000;
    } else if (snuke < 99999999999) {
      printf("%-16lld\n", snuke);
      snuke += 10000000000;
    } else if (snuke < 999999999999) {
      printf("%-16lld\n", snuke);
      snuke += 100000000000;
    } else if (snuke < 9999999999999) {
      printf("%-16lld\n", snuke);
      snuke += 1000000000000;
    } else if (snuke < 99999999999999) {
      printf("%-16lld\n", snuke);
      snuke += 10000000000000;
    } else if (snuke < 999999999999999) {
      printf("%-16lld\n", snuke);
      snuke += 100000000000000;
    } else if (snuke < 9999999999999999) {
      printf("%-16lld\n", snuke);
      snuke += 1000000000000000;
    } else if (snuke < 99999999999999999) {
      printf("%-16lld\n", snuke);
      snuke += 10000000000000000;
    } else if (snuke < 999999999999999999) {
      printf("%-16lld\n", snuke);
      snuke += 100000000000000000;
    }
  }
  return 0;
}
