#include <bits/stdc++.h>
using namespace std;
int main() {
  long long K;
  long long clas = 1;
  long long cnt = 0;
  long long now = 0;
  cin >> K;
  while (cnt < K) {
    if (now + 1 < clas * 10) {
      now += clas;
      cout << now << endl;
      ++cnt;
    } else {
      now = now + clas * 10;
      clas *= 10;
      cout << now << endl;
      ++cnt;
    }
  }
}
