#include <bits/stdc++.h>
using namespace std;
int main() {
  int k, count = 0;
  unsigned long long int diff = 1;
  cin >> k;
  for (unsigned long long int i = 1; count < k; i += diff) {
    if ((i + 1) / diff == 10) {
      diff *= 10;
    }
    cout << i << endl;
    count++;
  }
  return 0;
}
