#include <bits/stdc++.h>
using namespace std;
long long arr[100005];
signed main() {
  long long k;
  cin >> k;
  vector<long long> vec;
  for (long long i = 1; i < 10; i++) {
    vec.push_back(i);
    cout << i << endl;
    k--;
    if (k == 0) return 0;
  }
  while (k) {
    for (long long i = 0; i < 9; i++) {
      vec[i] = vec[i] * 10 + 9;
      cout << vec[i] << endl;
      ;
      k--;
      if (k == 0) {
        return 0;
      }
    }
  }
}
