#include <bits/stdc++.h>
using namespace std;
int main() {
  using ll = long long;
  int k;
  cin >> k;
  for (int i = 1; i <= min(k, 9); i++) {
    cout << i << endl;
  }
  ll t = 9;
  k -= 9;
  ll d = 10;
  while (k > 0) {
    for (int i = 1; i <= 9; i++) {
      t += d;
      cout << t << endl;
      k--;
      if (k == 0) break;
    }
    d *= 10;
  }
}
