#include <bits/stdc++.h>
#pragma GCC optimize("O3")
using namespace std;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  long long k;
  cin >> k;
  vector<long long> vec;
  long long cur = 1;
  long long t = 0;
  for (long long i = 1; i <= 15; ++i) {
    for (long long j = 1; j <= 9; ++j) {
      t += cur;
      vec.push_back(t);
    }
    cur *= 10;
  }
  for (long long l = 0; l < k; ++l) {
    cout << vec[l] << "\n";
  }
}
