#include <bits/stdc++.h>
using namespace std;
int main() {
  long k;
  cin >> k;
  long nine = 0, ten = 1, headnum = 1, added = 0;
  while (added < k) {
    cout << nine + ten * headnum << endl;
    if (headnum != 9) {
      headnum++;
    } else if (headnum == 9) {
      headnum = 1;
      nine += ten * 9;
      ten *= 10;
    }
    added++;
  }
}
