#include <bits/stdc++.h>
using namespace std;
int main(int argc, const char* argv[]) {
  int k;
  cin >> k;
  long long ans;
  long long base = 10;
  for (int i = 1; i < 10; i++) {
    cout << i << endl;
  }
  int counter = 1;
  for (long long i = 1; i < k - 8; i++) {
    ans = base * counter + (base - 1);
    cout << ans << endl;
    counter++;
    if (counter == 10) {
      counter = 1;
      base *= 10;
    }
  }
}
