#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k, s_n;
  s_n = 19;
  cin >> k;
  for (int i = 1; i <= k; ++i) {
    if (i <= 9) {
      cout << i << endl;
    } else {
      cout << s_n << endl;
      if (s_n >= 10 && s_n < 99) {
        s_n += 10;
      } else if (s_n >= 99 && s_n < 999) {
        s_n += 100;
      } else if (s_n >= 999 && s_n < 9999) {
        s_n += 1000;
      } else if (s_n >= 9999 && s_n < 99999) {
        s_n += 10000;
      } else if (s_n >= 99999 && s_n < 999999) {
        s_n += 100000;
      } else if (s_n >= 999999 && s_n < 9999999) {
        s_n += 1000000;
      } else if (s_n >= 9999999 && s_n < 99999999) {
        s_n += 10000000;
      } else if (s_n >= 99999999 && s_n < 999999999) {
        s_n += 100000000;
      } else if (s_n >= 999999999 && s_n < 9999999999) {
        s_n += 1000000000;
      } else if (s_n >= 9999999999 && s_n < 99999999999) {
        s_n += 10000000000;
      } else if (s_n >= 99999999999 && s_n < 999999999999) {
        s_n += 100000000000;
      } else if (s_n >= 999999999999 && s_n < 9999999999999) {
        s_n += 1000000000000;
      } else if (s_n >= 9999999999999 && s_n < 99999999999999) {
        s_n += 10000000000000;
      } else if (s_n >= 99999999999999 && s_n < 999999999999999) {
        s_n += 100000000000000;
      } else {
        break;
      }
    }
  }
}
