#include <bits/stdc++.h>
using namespace std;
long long special[18] = {1,  2,  3,  4,  5,  6,  7,  8,  9,
                         19, 29, 39, 49, 59, 69, 79, 89, 99};
long long digit(long long a) {
  long long num = 0;
  while (a >= 10) {
    a /= 10;
    num++;
  }
  num++;
  return num;
}
int main(void) {
  long long k;
  cin >> k;
  if (k <= 18) {
    for (int i = 0; i < k; i++) cout << special[i] << endl;
  } else {
    for (int i = 0; i < 18; i++) cout << special[i] << endl;
    k -= 18;
    for (int j = 1; j <= k; j++) {
      cout << (long long)j * pow(10, digit(j) + 1) + 99 << endl;
    }
  }
  return 0;
}
