#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vl = vector<ll>;
using Graph = vector<vi>;
using vb = vector<bool>;
using boolGraph = vector<vb>;
using P = pair<int, int>;
const int MOD = 1e9 + 7;
const double EPS = 1e-9;
int main() {
  int k;
  cin >> k;
  ll digit = 1;
  while (k > 0) {
    for (int i = 1; i <= min(9, k); ++i) cout << (i + 1) * digit - 1 << endl;
    digit *= 10;
    k -= 9;
  }
  return 0;
}
