#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k;
  cin >> k;
  if (k <= 9) {
    for (int i = 1; i <= k; i++) {
      cout << i << endl;
    }
  } else {
    for (int i = 1; i <= 9; i++) {
      cout << i << endl;
    }
    long long m = 9;
    long long n = 10;
    long long sum = 0;
    for (int i = 1; i <= k - 9; i++) {
      m += n;
      cout << m << endl;
      sum++;
      if (sum == 9) {
        n = n * 10;
        sum = 0;
      }
    }
  }
  return 0;
}
