#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  int count(0);
  unsigned long long sum(1);
  for (int i = 1; i <= k; i++) {
    cout << sum << "\n";
    int curr = to_string(sum).size();
    int next = to_string(sum + 1).size();
    if (next > curr) {
      sum += pow(10, next - 1);
    } else {
      sum += pow(10, curr - 1);
    }
  }
  return 0;
}
