#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long long k;
  cin >> k;
  for (long long i = 1; i <= k && i <= 9; i++) cout << i << endl;
  if (k < 10) {
    return 0;
  }
  long long now = 9, add = 10, cnt = 0;
  for (long long i = 0; i < k; i++) {
    now += add;
    cnt++;
    if (cnt == 9) {
      cnt = 0;
      add *= 10;
    }
    cout << now << endl;
  }
  return 0;
}
