#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  unsigned long long int sunuke;
  unsigned long long int sisuu = 0;
  unsigned long long int prenum = 0;
  for (int i = 1; i <= K; i++) {
    sunuke = prenum + pow(10, sisuu);
    sisuu = floor((i) / 9);
    prenum = sunuke;
    cout << sunuke << endl;
  }
  return 0;
}
