#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int K;
  long long x;
  cin >> K;
  for (int i = 0; i < K; i++) {
    if (i < 9)
      cout << i + 1 << endl;
    else if (i == 9) {
      cout << 19 << endl;
      x = 19;
    } else if (i >= 10 && i <= 17) {
      x += 10;
      cout << x << endl;
    } else if (i >= 18 && i <= 26) {
      x += 100;
      cout << x << endl;
    } else if (i >= 27 && i <= 35) {
      x += 1000;
      cout << x << endl;
    } else if (i >= 36 && i <= 44) {
      x += 10000;
      cout << x << endl;
    } else if (i >= 45 && i <= 53) {
      x += 100000;
      cout << x << endl;
    } else if (i >= 54 && i <= 62) {
      x += 1000000;
      cout << x << endl;
    } else if (i >= 63 && i <= 71) {
      x += 10000000;
      cout << x << endl;
    } else if (i >= 72 && i <= 80) {
      x += 100000000;
      cout << x << endl;
    } else if (i >= 81 && i <= 89) {
      x += 1000000000;
      cout << x << endl;
    } else if (i >= 90 && i <= 98) {
      x += 10000000000;
      cout << x << endl;
    } else if (i >= 99 && i <= 107) {
      x += 100000000000;
      cout << x << endl;
    } else if (i >= 108 && i <= 116) {
      x += 1000000000000;
      cout << x << endl;
    } else if (i >= 117 && i <= 125) {
      x += 10000000000000;
      cout << x << endl;
    } else if (i >= 126 && i <= 134) {
      x += 10000000000000;
      cout << x << endl;
    } else if (i >= 135 && i <= 143) {
      x += 100000000000000;
      cout << x << endl;
    }
  }
  return 0;
}
