#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, m, d, K, count;
  cin >> K;
  count = 1;
  n = 1;
  d = 1;
  m = 9;
  cout << n << endl;
  while (count < K) {
    if (n < m)
      n += d;
    else {
      m = 10 * m + 9;
      d *= 10;
      n += d;
    }
    cout << n << endl;
    count++;
  }
  return 0;
}
