#include <bits/stdc++.h>
using namespace std;
template <class T>
T digit_sum(T n) {
  T ds = 0;
  for (T i = n; i > 0; i /= 10) {
    ds += i % 10;
  }
  return ds;
}
int main() {
  int k;
  cin >> k;
  int count = 0;
  for (int i = 1; i < 10; ++i) {
    cout << i << '\n';
    if (++count == k) goto end;
  }
  for (int i = 19; i < 100; i += 10) {
    cout << i << '\n';
    if (++count == k) goto end;
  }
  for (int i = 199; i < 2000; i += 100) {
    cout << i << '\n';
    if (++count == k) goto end;
  }
  for (int i = 2999; i < 30000; i += 1000) {
    cout << i << '\n';
    if (++count == k) goto end;
  }
  for (int i = 39999; i < 400000; i += 10000) {
    cout << i << '\n';
    if (++count == k) goto end;
  }
  for (int i = 499999; i < 5000000; i += 100000) {
    cout << i << '\n';
    if (++count == k) goto end;
  }
  for (int i = 5999999; i < 60000000; i += 1000000) {
    cout << i << '\n';
    if (++count == k) goto end;
  }
  for (int i = 69999999; i < 700000000; i += 10000000) {
    cout << i << '\n';
    if (++count == k) goto end;
  }
end:
  return 0;
}
